PHP version is not transferred
Hello,
When I transfer a cPanel account (website) from one server to another, I find that the PHP version of the website in the old server is not transferred, I see it uses the default PHP version of the new server.
How can I transfer the PHP version of the website as well?
-
Is the site set to a specific version of PHP or is it set t inherit? If it's a specific version, that should carry across in a transfer. 0 -
Usually this is the case if you don't have that PHP version installed on the server already. You can copy over the same Apache configuration by choosing Service Configurations under the Transfer Tool (be aware that this will overwrite Apache config of the destination server completely). 0 -
I did a test: In the source server the System PHP version is 7.2 In the destination server the System PHP version is 7.4 I transferred an account from source to destination. In the source server that account's PHP version was 7.2 Inherited. After transfer that accounts PHP version was 7.4 inherited. In the source server I changed that account's PHP version to 7.2 (NOT inherited). I transferred the account again and that account's PHP version was 7.2 (NOT inherited) 0 -
That's exactly what inherit should do. It does not set a default version (which is in the sites .htaccess file) so if you transfer to a server with a different default version, it's going to change. 0 -
That's exactly what inherit should do. It does not set a default version (which is in the sites .htaccess file) so if you transfer to a server with a different default version, it's going to change.
That's right, but it may cause some confusion o_O0
Please sign in to leave a comment.
Comments
5 comments