My web host recently upgraded my PHP 5.6 to 8.1, and installed MultiPHP Manager. For a domain, I used cPanel to set the PHP for the account to 8.1, and if I do "php -v" inside the public_html folder for the user, it says I have 8.1.1. But if I go to the root folder for the user, it says I have 5.6.4.
It doesn't seem to a problem if I create .php files inside public_html. Though I have a programmer who says he needs to place some files below the web server root, and he doesn't have access to 8.1 there.
Is this normal? For MultiPHP manager to give 8.1.1 in the public_html folder only, and inherit it for the user root folder. And is there anything I can do to get 8.1.1 in the root folder? I presume that if I modified the PHP level for the whole server to 8.1.1 via WHM, the user root folder would inherit the 8.1.1, but I don' t want to do that as it might break other sites that wouldn't be compatible with PHP 8.
It doesn't seem to a problem if I create .php files inside public_html. Though I have a programmer who says he needs to place some files below the web server root, and he doesn't have access to 8.1 there.
Is this normal? For MultiPHP manager to give 8.1.1 in the public_html folder only, and inherit it for the user root folder. And is there anything I can do to get 8.1.1 in the root folder? I presume that if I modified the PHP level for the whole server to 8.1.1 via WHM, the user root folder would inherit the 8.1.1, but I don' t want to do that as it might break other sites that wouldn't be compatible with PHP 8.