PHP version and settings in Plesk

On Windows hosting PHP runs as FastCGI. You can set the PHP version and main PHP parameters for each site separately — settings of one site do not affect the others.

Check the PHP version right after you create a site: on some plans a new site may get an old version, which the panel marks as Outdated. Modern CMSs (WordPress, Joomla!, OpenCart and others) do not run on it or run with errors. Choose a current PHP version.

How to change the PHP version

  1. Open Websites & Domains and the card of the domain.
  2. On the Dashboard tab, in the Dev Tools group, click PHP.
  3. Make sure PHP support is checked.
  4. In the PHP version list, choose the newest version your CMS supports. Leave run PHP as set to FastCGI application.
  5. Click OK, or Apply to save and stay on the page.
PHP Settings page: PHP version and FastCGI mode
PHP Settings page: PHP version and FastCGI mode

To check which version is actually running, use the View the phpinfo() page link next to the version selector.

Main parameters

ParameterWhat it sets
memory_limithow much memory a single script may use
max_execution_timehow many seconds a script may run
post_max_sizemaximum size of submitted form data (POST)
upload_max_filesizemaximum size of a single uploaded file

Default means the server-wide value is used. post_max_size must be at least as large as upload_max_filesize, otherwise large files will not upload.

Values on this page can be overridden by .htaccess, php.ini or .user.ini files in the site folder. If a change "does not apply", check whether such a file exists.

Common mistakes

  • The site shows a 500 error after switching versions — the CMS or a plugin is not compatible with the chosen version. Switch back and update the CMS.
  • A version that is too new for an old site — update the CMS and plugins first, then raise PHP.
  • See error details in the site logs.
Questions and answers
The newest version in the list that your CMS officially supports. Do not keep 5.6: it is outdated and insecure.
Also raise post_max_size (it must be larger) and check the site folder for a .user.ini or php.ini file with the old value.
Yes, every site and subdomain has its own PHP Settings page.