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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731572

Title:
  php5-fpm chokes on missing /var/www

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to