php5-fpm chokes on missing /var/www
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Debian) |
Fix Released
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
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.
Related branches
description: | updated |
Changed in php5 (Debian): | |
status: | Unknown → New |
Changed in php5 (Debian): | |
status: | New → Fix Committed |
Changed in php5 (Debian): | |
status: | Fix Committed → Fix Released |
Changed in php5 (Debian): | |
status: | Fix Released → New |
Changed in php5 (Debian): | |
status: | New → Fix Released |
Thanks for the report, that is already known at debian. See http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 601243