APC,
Alternate PHP Cache, is now the most maintained free/open source op-code cache, and is being used more and more as it emerges to be the
most stable. Continue reading “Install php-pear on linux”
Linux task manager like windows
‘ps’ actually only shows you the tasks started in that shell. To see all running tasks, use:
Code:
ps aux
You can then use ‘kill PID’ or ‘killall <process-name>’. Note that the latter will, of course, end all instances of that application.
Update Centos From SSh
yum update
Remove – Uninstall ASL Atomic Secure Linux
1) vim /etc/yum.repos.d/asl.repo
2) Delete all lines from file
3)Save & quit the doc :wq
more command for VIM
Basic “vi” features VIM
Basic “vi” features
One edits a file in vi by issuing the command: vi file-to-edit.txt
The vi editor has three modes, command mode, insert mode and command line mode.
- Command mode: letters or sequence of letters interactively command vi. Commands are case sensitive. The ESC key can end a command.
- Insert mode: Text is inserted. The ESC key ends insert mode and returns you to command mode. One can enter insert mode with the “i” (insert), “a” (insert after), “A” (insert at end of line), “o” (open new line after current line) or “O” (Open line above current line) commands.
- Command line mode: One enters this mode by typing “:” which puts the command line entry at the foot of the screen. Continue reading “Basic “vi” features VIM”
PHP Set Variable With Do While Loop
.= $row_keywords['keywords']; ?>
<?php } while ($row_keywords = mysql_fetch_assoc($keywords)); ?>
<?php echo $prosoxi; ?>
The .= connect the Data