Vito Botta wrote:
Sorry for the confusion, hybinet. I installed Nginx from source, while for php & php5-fpm I installed packages.
That's very strange. Ubuntu 10.04 LTS "Lucid Lynx"
does not contain the php5-fpm package. Moreover, it ships with PHP 5.3.2.
Vito Botta wrote:
a bug in some recent releases of PHP
If you installed official packages and kept your server up to date, this bug should have been fixed a couple of weeks ago. You must have installed PHP from a different source. If you can't remember where you got the source, I'd suggest that you remove PHP and install the official packages.
Since Ubuntu 10.04 doesn't contain php5-fpm, you'll need to do one of the following. (1) Make do with spawn-fcgi, which can be easily installed with apt-get. (2) Go to launchpad and find a php5-fpm package for Ubuntu 10.04. Make sure it was updated sometime in the last month or so. (3) Compile your own PHP again, with the FPM patch.
By the way, if you use the official packages, APC can be installed with "apt-get install php-apc". Maybe not the latest version, but it's very stable. No need to mess with PECL there.