|If you're running CustomBuild 2.0 and wish to use fastcgi:|
1) type the following:
The php2_release can be set to a different version of php if you want 2 versions of php on the same server.
The php1_mode set to fastcgi defines that 5.4 will use fastcgi. You could set php2_mode to use php-fpm or suphp if you wish (or vice versa with php1_mode). If php2_release is set to no, then the vaue of php2_mode will not have any effect.
mod_ruid2 must be disabled to use fastcgi.
The use_hostname_for_alias option is used to redirect the webapps (squirrelmail, roundcube, phpmyadmin) to the hostname of the server, because www.domain.com/squirrelmail will run as the User, instead of webapps, which won't work correctly (one of the few drawbacks of fastcgi)
2) Once your options.conf is setup as desired, build php and rewrite the configs:
./build php n
For more information, see the Custombuild 2.0 documentation.
|I wish to use php-FPM with my CustomBuild setup.|
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST