You can change the PHP version for a specific website to ensure compatibility with your website's software or to improve performance. This process is performed through the Hostek control panel and affects only the specific website selected during the process.
Before you begin
You will need:
Access to your Hostek account
The specific website's domain or primary domain name
A backup of your website's files and database before making changes
Important: Changing the PHP version can impact the functionality of your website. If your website's code is not compatible with the new version, it may result in a "White Screen of Death" or other errors.
How to change the PHP version
Log in to your Hostek control panel.
Select the account containing the website you wish to update.
Navigate to Website Settings > PHP Configuration.
Locate the list of your websites and find the specific domain you want to update.
Select the desired PHP version from the dropdown menu or selection list next to that domain.
Click Update or Save.
Confirm the result
The control panel will display a success message confirming the change.
You can verify the change by visiting your website and checking the PHP version via a "PHP Info" page or a similar diagnostic tool.
Ensure all website features (such as forms, logins, and plugins) are functioning as expected.
How to roll back a PHP version after a website stops working
If your website stops functioning correctly after a change, you can revert to the previous version:
Log in to your Hostek control panel.
Navigate to Website Settings > PHP Configuration.
Locate the affected domain.
Select the previous PHP version from the list.
Click Update or Save.
Limitations
This procedure only changes the PHP version for the specific domain selected.
Changes may take a few minutes to propagate across the server.
If you are using a specialized application that requires a specific PHP extension, ensure the new version supports that extension before switching.
