PHP Selector changes doesn't take affect!

Game Over!

Verified User
Joined
Jan 19, 2018
Messages
13
Hello dear users.

I have installed two version of PHP with :

Code:
#PHP Settings
[B]php1_release=[COLOR="#FF0000"]5.6[/COLOR][/B]
[B]php1_mode=[COLOR="#FF0000"]suphp[/COLOR][/B]
[B]php2_release=[COLOR="#FF0000"]7.1[/COLOR][/B]
[B]php2_mode=[COLOR="#FF0000"]suphp[/COLOR][/B]
secure_php=yes
opcache=no
htscanner=no
php_ini=yes
php_timezone=Asia/Tehran
php_ini_type=production
ioncube=no
zend=no
suhosin=yes
and I can see "PHP Selector" from "Domain setup" for each user but when I change it from 5.6 (default) to 7.1 (second) the changes doesn't affect and phpinfo() only show me "PHP Version 5.6.4" . is it a bug?

In other hand in the "System information" I can't see "Php 7.1 Installed (php2)" but in my other server I can see it. (check attachment please)
NOTE : I recently configure this server and before me some person configured it and I see he installed PHP 7.1 for some specific users but not set in "options.conf" so how can I completely delete previous PHP versions and just install through CB2 ?

Image : https://imgur.com/a/4kMFcRT
Image (Backup) : https://pasteboard.co/HYrOvtM.jpg

My DA version : 1.51

thanks in advance
I'm looking forward for your answer?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,243
Location
GMT +7.00
Hello,

Does it fix it?

Code:
cd /usr/local/directadmin/custombuild
./build update
./build php
 
Top