Phpize: Command not found?

So you are on Debian, trying perhaps to install an opcode cache or something and you use try to do it with pecl with pecl install apc for example. And you can’t, because phpize is not installed. Then you try to compile it and run into the same problem. Then you try to find out …

Install APC and fix “potential cache slam” problem

APC is an Alternative PHP Cache or Opcode cache that speeds up performance dramatically by caching queries. How to install APC? apt-get install php5-apc You will have to enble it in the php configuration. Add the following to your php.ini file extension=apc.so Alternatively, you could create a separate apc.ini file and put it in the …

WordPress: Problem happened with plugin upgrade – can’t delete old files

When you get an error like this while updating, check file ownership. Chances are that you edited something in the backend and the plugin or theme files now being owned by another user, cannot be deleted by the server. If you have terminal access as root, type: chown -R www-data:www-data /path/to/wordpress/* Where www-data is the …

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’

So you ran an upgrade, or got carried away tweaking things on your server, and now MySQL is acting like an island of its own. Your websites can’t connect, your phpmyadmin can’t connect, and you are miserable. You get errors like ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysqld.sock’ and, you …

Problems upgrading your Ubuntu Server to 12.04 Ubuntu Precise Pangolin?

If you are running a Ubuntu server on a VPS, the latest upgrade may have brought dismay with warnings and errors and finally failure. Some of the sample output can look like: Processing triggers for man-db … locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15′ not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14′ not found (required by locale) …

Configuring Privoxy to use TOR

In these days of censorship concerns, increasing numbers of people are using TOR as a proxy and thus, increasing numbers of people are configuring their browsers wrong and going to the TOR check page only to realize that for all their proxy configurations, they either cannot see the page at all, or they see the …