I wish to use php-FPM with my CustomBuild setup.


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild » ./build php » php-FPM

I wish to use php-FPM with my CustomBuild setup.Last Modified: Mar 28, 2017, 2:02 pm
If you're running CustomBuild 2.0 and wish to use php-FPM:

1) type the following:

cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 5.6
./build set php2_release no
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set mod_ruid2 no

Where you can change 5.6 to a different verion of php if you wish.
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 php-fpm defines that 5.6 will use php-fpm.  You could set php2_mode to use mod_php 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.

2) Once your options.conf is setup as desired, build php and rewrite the configs:

./build php n
./build rewrite_confs


For more information, see the Custombuild 2.0 documentation.

 
Related Helpfiles
I wish to use FastCGI with my CustomBuild setup (mod_fcgid)
per-User php.ini settings in php-fpm

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST