[Bug 731572] [NEW] php5-fpm chokes on missing /var/www
dolphinaura
731572 at bugs.launchpad.net
Tue Mar 8 20:26:11 UTC 2011
Public bug reported:
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 folder 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.
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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
+ However, php5-fpm is not only used for apache. Other webservers, such as Nginx do not use the /var/www folder 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.
+ * 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.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/731572
Title:
php5-fpm chokes on missing /var/www
More information about the Ubuntu-server-bugs
mailing list