Hosting » HostGator » How do I change PHP in HostGator?

How do I change PHP in HostGator?

Last updated on September 25, 2022 @ 6:57 pm

If you have a HostGator account and are using PHP, you may want to consider changing PHP. There are a few different ways to do this, but the easiest way is to visit the HostGator PHP Settings page and make the necessary changes. Here are a few things you can change:

1. Change the PHP version

You can change the version of PHP that HostGator uses by clicking on the “PHP Settings” button and selecting the “Version” tab. You can choose from a variety of different versions of PHP, including 5.3, 5.4, and 5.

5. If you’re using an older version of PHP, you may want to consider upgrading to one of the newer versions.

2. Change the PHP extension

You can also change the PHP extension that HostGator uses by clicking on the “PHP Settings” button and selecting the “Extensions” tab. You can choose from a variety of different extensions, including mysqli, PDO, and json.

PRO TIP: If you are trying to change the PHP version in your HostGator account, it is important to note that you must be on a VPS or Dedicated server in order to do this. If you are on a Shared server, you will not be able to change the PHP version.

If you’re using an older version of PHP, you may want to consider upgrading to one of the newer versions.

3. Change the PHP configuration

You can also change the PHP configuration by clicking on the “PHP Settings” button and selecting the “Configuration” tab. You can change a variety of different settings, including the path to the PHP executable, the path to the PHP configuration file, and the path to the MySQL database.

Conclusion

There are a few different ways to change PHP in HostGator, and all of them are easy to do.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.