Search and Replace in VIM
You can search and replace easily in VIM using this way :%s/foo/bar/gc Always have confirmation first, if you want to replace all, can choose ‘a’ after the search.
Search and Replace in VIM Read More »
You can search and replace easily in VIM using this way :%s/foo/bar/gc Always have confirmation first, if you want to replace all, can choose ‘a’ after the search.
Search and Replace in VIM Read More »
/usr/local/directadmin/conf/my.cnf
Where is my.cnf in DirectAdmin ? Read More »
You need php-devel to use phpize yum -y install php-devel
ERROR: `phpize’ failed in CentOS Read More »
I always forget the location of the php.ini in DirectAdmin. So I record down in here. /usr/local/lib/php.ini /usr/local/etc/php5/cgi/php.ini /usr/local/etc/php4/cgi/php.ini /usr/local/php54/lib/php.ini You can show by using this command. /usr/local/bin/php -i | grep ‘Loaded Configuration File’
DirectAdmin php.ini location path in Linux Read More »