Pressidium supports running different PHP versions for each website and environment. To switch your PHP version:
Using the Pressidium Dashboard
- Navigate to the website overview screen by selecting / clicking on the related card in the Websites overview screen. Tip: You can quickly navigate to a website by using the S keyboard shortcut to bring up the quick search dialog.
- Verify the environment you want to apply the change, Production or Staging by checking out the currently selected environment in the navigation bar.
- Click on the Settings menu.
- Select the desired PHP version from the PHP Engine menu.
- Click Switch to make the change. Changes will take effect in a few minutes.
Note that before changing your website's PHP version, it is recommended to first check for potential compatibility issues. New PHP versions might introduce changes that are not compatible with older ones and this can lead to theme or plugin issues.
You can use your staging environment to test these potential compatibility issues and fix them before switching the PHP version on the production environment.
Using the Pressidium Portal
- Select the Websites menu option from the Dashboard sidebar.
- Click on your website's name to go to the website overview.
- Scroll down to Configuration Options, and select the PHP version you want from the PHP Engine menu.
- Click the Save button to enable it.