Comment 0 for bug 731572

Revision history for this message
CatchesAStar (catchesastar) wrote :

Binary package hint: php5-fpm

When php5-fpm is installed, it looks for a /var/www directory to generate its configuration.
However, php5-fpm is not only used for apache. Other webservers, such as Nginx do not use the /var/www package as their root. As a result, php5-fpm stops during installation with

Setting up php5-fpm (5.3.5-1ubuntu1) ...
update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (none)
 * Starting PHP5 FPM... Mar 08 20:14:16.908184 [WARNING] [pool www] pm.start_servers is not set. It's been set to 20.
Mar 08 20:14:16.908957 [ERROR] [pool www] the chdir path '/var/www' does not exist or is not a directory
Mar 08 20:14:16.908969 [ERROR] failed to post process the configuration

and the /var/www folder has to be created in order to install php5-fpm.

Maybe we can make a dialog or something else to let users choose the directory, or simply create the /var/www folder.