Using PHP 5.3 or Prior

While our shared servers do allow for the selection of multiple PHP versions, we highly recommend only using up-to-date software which supports the use of a current PHP version (more information here). Outdated PHP versions no longer receive security updates, and can open your sites up to major vulnerabilities.

More information on end-of-life PHP versions

Please keep in mind that we do regularly apply patches and updates to the software on the servers. It is the customer's responsibility to ensure that their sites are up-to-date and compatible with current, supported software. Using legacy software that requires end-of-life PHP versions may require periodic maintenance on the customer’s part to account for compatibility issues.

Common issues with sites requiring PHP 5.3 or prior:

  • Sites requiring PHP's 'register_globals' function will need their PHP version manually set to 5.3 or prior; this function was removed from PHP 5.4+ in 2012 for security vulnerabilities. The ‘register_globals’ function was deprecated in PHP 5.3 in 2009, which means it is disabled by default. It will need to be manually enabled in cPanel > 'Select PHP Version' > PHP Options

 

  • A 500 Internal Server Error or ‘missing mysql/mysqli extensions’ warnings may be caused by a 'suPHP_ConfigPath' directive in an .htaccess file, which may be in the /home/username/ or /home/username/public_html directories.

    This directive is no longer supported, and is not compatible with custom PHP versions set via 'Select PHP Version' in cPanel. 'Select PHP Version' should be used for all customizations to PHP versions and settings for an account. The 'suPHP_ConfigPath' directive should be removed or commented out with a '#' character in that .htaccess file, as follows:

    Change this:

    suPHP_ConfigPath /home/username

    to this:

    #suPHP_ConfigPath /home/username

 

  • A site loading a blank page may indicate that an earlier PHP version is required. Try reviewing the software’s error_log file for ‘Deprecated’ warnings and/or setting an older PHP version in ‘Select PHP Version’ in cPanel.
 
  • 1 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

How do I change My PHP version and settings?

All of our shared servers have options to change the PHP version for individual...

How to run a Traceroute on macOS

To run a traceroute from your macOS machine, please follow the instructions below.Navigate to Go...

How do I reset my control panel password?

If you need to reset your cPanel, and/or your DirectAdmin password, this can be done in your...

What should I do if there is a dispute about the ownership of the account?

Disputes over the ownership of accounts may sometimes arise between or among multiple persons,...

Creating MySQL databases

(cPanel) To create a MySQL database: Go to MySQL Databases in your cPanel Under 'Create New...