4 PHP versions installed, only 2 can be chosen from the PHP Version Selector

Erik66

Verified User
Joined
Sep 21, 2016
Messages
11
Location
Zwolle, The Netherlnads
I have a DA server (DA 1.55) running 4 different PHP versions. The "PHP Version Selector" in the Domain Administration only lets me select PHP version 1 and 2 as set in the Custombuild "Edit Options" page.

What do I need to change in order for the PHP Version Selector to show the 4 available PHP versions?

Thanks,

Erik
 

code46

New member
Joined
Oct 19, 2016
Messages
3
directadmin 1.56 / up to 4 php versions

Hello,

I did upgrade of DA to the 1.56, and performed following:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 7.3
./build set php1_mode php-fpm
./build set php2_release 7.2
./build set php2_mode php-fpm
./build set php3_release 7.1
./build set php3_mode php-fpm
./build set php4_release 5.6
./build set php4_mode php-fpm
./build php
compilation completed fine. I checked:

Code:
(/usr/local/directadmin/custombuild) root@host# ./build options | grep php
PHP (default): 7.3 as php-fpm
PHP (additional): 7.2 as php-fpm
PHP (additional): 7.1 as php-fpm
PHP (additional): 5.6 as php-fpm
4 php-fpm instances are running:

Code:
(/usr/local/directadmin/custombuild) root@host# ps ax | grep php
10217 pts/2    S+     0:00 grep php
11465 ?        Ss     0:00 php-fpm: master process (/usr/local/php73/etc/php-fpm.conf)
11484 ?        Ss     0:00 php-fpm: master process (/usr/local/php72/etc/php-fpm.conf)
11503 ?        Ss     0:00 php-fpm: master process (/usr/local/php71/etc/php-fpm.conf)
11522 ?        Ss     0:00 php-fpm: master process (/usr/local/php56/etc/php-fpm.conf)
However I can still only see only 2 php versions in the php selector box (PHP 7.3 php-fpm / PHP 7.2 php-fpm). Do I miss anything that needs to be performed to see all 4 versions?
 
Top