Bluehost PHP Version

If you’re looking for a reliable web-hosting service that offers support for the latest PHP version, you might want to consider Bluehost. Bluehost, along with other providers like FastComet and GreenGeeks, now supports PHP 8.1, which was released on November 25th, 2021. However, it’s important to note that not all WordPress themes and plugins are currently compatible with PHP 8.1. The good news is that many of them are expected to be updated for compatibility when WordPress 5.9 launches on January 25th, 2022.

Supported PHP Versions

Bluehost supports multiple PHP versions, including 7.4, 8.0, and the latest 8.1. It’s recommended to upgrade to PHP 7.4 or higher if you’re still using PHP 7.3 or lower. Keep in mind that while PHP 8.1 offers the latest features and improvements, some WordPress themes and plugins may not be fully compatible yet. Therefore, it’s advisable to wait until your essential components are updated before making the switch.

Changing PHP Version in Bluehost’s Shared Hosting Accounts

To update your PHP version in Bluehost’s Shared Hosting accounts, follow these steps:

  1. Access cPanel and navigate to Software > MultiPHP Manager.
  2. Select the domains where you want to apply the PHP version change (PHP 8.0 or PHP 8.1).
  3. Choose the desired PHP version from the available options, which include PHP 7.3, PHP 7.4, PHP 8.0, and PHP 8.1.
  4. If the option for PHP 8.1 is not visible, you may need to wait until Bluehost completes the system upgrade.
  5. Click the Apply button to activate the PHP version you’ve selected.
  6. Adjust the PHP.ini settings according to your preferences. You can find the necessary options in Software > MultiPHP INI Editor within cPanel.
See also  Extracting Text from Images in PHP with OCR

Here are the recommended PHP.ini settings that work well for many users:

  • max_execution_time: 600
  • max_input_time: 300
  • max_input_vars: 2000
  • memory_limit: 512M
  • post_max_size: 64M
  • upload_max_filesize: 64

Changing PHP Version in Bluehost’s VPS Accounts

For Bluehost’s VPS account users, the process of changing PHP versions is slightly different. Follow these steps:

  1. Log in to WHM (Web Host Manager).
  2. Go to Software > EasyApache 4.
  3. Inside the EasyApache 4 screen, click the Customize button in the Currently Installed Packages section.
  4. Remove any unnecessary PHP versions and install the new PHP 8.1 version.
  5. Once you’ve installed the desired PHP version, you can adjust the PHP.ini settings.
  6. To change the PHP version, visit Software > MultiPHP Manager in WHM.
  7. For PHP.ini adjustments, go to Software > MultiPHP INI Editor.

If you come across any issues while switching to PHP 8.0 or PHP 8.1, you can revert back to the previous version or reach out to Bluehost’s support team for assistance.

See Also…