Multiple PHP Versions and DirectAdmin Print

  • #directadmin, #Phpversion, #Multiple PHP Versions
  • 0

In order to set the two PHP versions 5.6 and 7.2, first navigate to the CustomBuild folder:

cd /usr/local/directadmin/custombuild

Next, run the following commands in order to set the versions:

 

./build set php1_mode php-fpm

./build set php2_mode php-fpm

./build set php1_release 7.2

./build set php1_release 5.6

now you can check

vi options.conf

to confirm

and then run

 

#./build php n

#./build rewrite_confs

Thanks

webanchor.net

 

 

./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php1_release 7.2
./build set php2_release 5.6

Was this answer helpful?

« Back

Powered by WHMCompleteSolution


["\r\n