How do I change the PHP version for a website? Print

  • 0

In short: You can choose a PHP version separately for each domain in SiteWorx.

Before you change it: Take a current website and database backup, confirm that your application supports the new version, and plan to test the site immediately afterwards.

Change the PHP version

  1. Sign in to SiteWorx.
  2. Go to Hosting Features > Domains > PHP Options.
  3. Select the pencil icon beside the domain you want to change.
  4. Choose the required version from PHP Version.
  5. Select Save.

The setting normally takes effect promptly. You can make the same change from Hosting Features > Domains > Manage; you do not need to change it in both places.

Check that the change worked

  • Open the public website and its administration area.
  • Test forms, logins, scheduled tasks and any payment or API integrations.
  • Clear application caches where appropriate.

If the website stops working

Return to PHP Options and select the previous version. A blank page or HTTP 500 error usually means the application, a plugin, a theme or a required PHP extension is not compatible. Review the website's PHP error log, then update or replace the incompatible component before trying again.

If the required version is not listed, open a support ticket with the domain name and application requirements.

Further reading: InterWorx: Change the PHP version for a domain.


Was this answer helpful?

« Back