Contents
How do I change my PHP version?
You can change your PHP version inside the PHP Version Manager page of your account….Once logged into your cPanel:
- Locate the Software section, then click on the MultiPHP Manager icon.
- Select the version of PHP you would like to use; 7.0, 7.1, 7.2, or 7.3.
- Click Save Changes or Apply to finish the update.
How can I change my PHP version?
In the account Dashboard, in the Settings section, select Server. The current PHP version appears at the top of the list. To change the PHP version, next to PHP version click Change. Select another PHP version from the list and then enter update in the Type ‘update’ to confirm field.
How do I know my Dreamhost PHP version?
When you run the command php -v in a shell terminal when logged into your server, the output displays the current default version used. If you wish to use a different PHP version in the Shell, you’ll need to specify the full file path.
What to do if you have a PHP upgrade problem?
If you experience problems after a PHP upgrade, you can always revert to an earlier version. To do this, use the PHP version tool in cPanel. For more information about how to change the PHP version for your web site, please see this article.
When is the new version of PHP coming out?
New versions of PHP bring new features and fixes for security issues and bugs. Migrating from one version to another can often lead to incompatibilities. As of writing this article, PHP 7.2 is the latest stable release and PHP 7.3 is expected to be released in December 2018.
Which is the correct file for PHP 5.3?
If you use a custom php.ini file, make sure you use the correct file for your PHP version. For example: If you are using PHP 5.3, copy the php.ini file located at /usr/local/lib/php.ini. This is the default php.ini file.
How to upgrade PHP 5.2.17 to Ini?
Copy over the php.ini file located at /opt/php/php-5.2.17/lib/php.ini, and then add the following line to the top of your php.ini file: To make the php.ini settings apply to all subdirectories, add the following line to your .htaccess file.