Question about Custombuild 2.0 FAQ and PHP modes, mod_ruid and nginx_apache

websafe

Verified User
Joined
Jun 15, 2010
Messages
103
Location
Opole, PL
Hello,

in the Custombuild 2.0 FAQ I have found the following:

4. How do php1_release/mode and php2_release/mode work in the options.conf file?

Main requirements:

If nginx is chosen, use php-fpm only as a PHP mode.
Do not set both php1_release and php2_release to the same release of PHP.
Do not set both php1_mode and php2_mode to mod_php, if php2_release is set.
Do not use mod_ruid2 together with php-fpm or php-fastcgi.



1. Does this:

If nginx is chosen, use php-fpm only as a PHP mode.

apply to
webserver=nginx
only or as well to
webserver=nginx_apache
?


2. How should I understand this:

Do not use mod_ruid2 together with php-fpm or php-fastcgi.


Would this be wrong:

php1_release=5.5
php1_mode=mod_php
php2_release=5.6
php2_mode=php-fpm
webserver=nginx_apache
apache_ver=2.4
mod_ruid2=yes



TIA.
 
1) It does not apply to nginx_apache, you can use any PHP mode with it.
2) Yes, this would be wrong. If you have mod_ruid2=yes, only mod_php and suPHP can be used as PHP modes.
 
Back
Top