DA PHP Selector

n3os

New member
Joined
Sep 11, 2021
Messages
4
i need solution for my problem.
I'm trying to do php settings for subdomains.
this is a list of php in php selector :
1. php 1 (default) 7.4
2. php 2 5.6
3. php 3 7.2
4. php 4 7.3
When I create a subdomain , the php version for the subdomain should be the default php which is php 7.4 .
but when i check with phpinfo() , the subdomain is using php version 5.6

Then I tried to change the subdomain to php 7.2 , I checked it changed to 7.2. I changed it to php 7.3 I checked it changed to php 7.3 . I changed it to 5.6 then I checked it changed to php 5.6.
then I changed it back to 7.4 I checked the php version to 5.6.

i need help because php selector directadmin on my server doesn't work for php 7.4
 

Attachments

  • Screenshot 2021-09-09 184947.png
    Screenshot 2021-09-09 184947.png
    22.7 KB · Views: 75
i have anggarafarm.com and i setting up php version to 5.6 , phpinfo show php 5.6
i create sub1.anggarafram.com and i setting up php version to 7.2 , show php 7.2
i create sub2.anggarafram.com and i setting up php version to 7.3 , show php 7.3
i create sub3.anggarafram.com and i setting up php version to 5.6 , show php 5.6
i create sub4.anggarafram.com and i setting up php version to 7.4 , show php 5.6 <<<<< wrong

please help
 
i try to do :
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 7.4
./build set php2_release 5.6
./build set php3_release 7.2
./build set php4_release 7.3
./build set php1_mode lsphp
./build set php2_mode lsphp
./build set php3_mode lsphp
./build set php4_mode lsphp
./build php n
./build rewrite_confs

still error when select php 7.4
 
Back
Top