promex

Registered
Aug 29, 2022
4
0
1
United States
cPanel Access Level
Root Administrator
Hi
I have an old app that requires php 7.3 which i have still installed
I added a subdomain under a main domain that runs v8.1
I changed the subdomain to 7.3

SHELL : php -v shows 7 ( in the folder of the subdomain)
phpinfo(), now shows 7 if i run it as subdomain/info.php
if i run it like domain/folder/info.php shows 8

But anyway the APp itself is reading version as 8 and throwing errors !

What could be the possible reasons ?

htaccess seems correct and i restarted php and apache ...
ideas?
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,505
2,605
363
cPanel Access Level
Root Administrator
Hey there! Did you make the version changes through the cPanel >> MultiPHP Manager? Manually editing the .htaccess isn't something that would be supported, but if you used the interface I would expect this to work properly.

Do you see any errors in the cPanel error log (/usr/local/cpanel/logs/error_log) when you make this change?