WPCloud Deploy Documentation

Manage PHP Options

WPCloud Deploy offers a bunch of PHP options you might need for certain sites – without forcing you onto the command line.

Change PHP Version

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the PHP tab
  • Scroll down to the CHANGE PHP VERSION section
  • Select your new PHP version in the drop-down – we currently support up to 7.4
  • Click the Change PHP Version button.
  • Click the OK option on the confirmation popup

After a while the screen will refresh – if the operation is successful.  If the operation fails, you’ll get a popup message.

You can see a full log of the operation under the SSH LOG screen.

Restart the PHP Service

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the PHP tab
  • Scroll down to the RESTART PHP SERVICE section
  • Click the RESTART button.
  • Click the OK option on the confirmation popup

After a while the screen will refresh – if the operation is successful.  If the operation fails, you’ll get a popup message.

You can see a full log of the operation under the SSH LOG screen.

Set UPLOAD_MAX_FILESIZE, POST_MAX_SIZE, MEMORY_LIMIT, MAX_EXECUTION_TIME, MAX_INPUT_TIME

The most common PHP options that admins need to change are:

  • UPLOAD_MAX_FILESIZE
  • POST_MAX_SIZE
  • MEMORY_LIMIT
  • MAX_EXECUTION_TIME
  • MAX_INPUT_TIME

You can change all these values without leaving the WPCloudDeploy admin screen.

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the PHP  tab
  • Scroll down to the ADD OR UPDATE SOME COMMON PHP OPTIONS section
  • Select one of the five options from the drop-down in the section
  • Enter a value for the option
  • Click the SET THE SELECTED OPTION button.
  • Click the OK option on the confirmation popup

After a while the screen will refresh – if the operation is successful.  If the operation fails, you’ll get a popup message.

You can see a full log of the operation under the SSH LOG screen.

Set A Random PHP Option

There are dozens of other PHP options that can be changed or set.  We provide a user interface for you to specify any PHP option along with an associated value.

Warning: This is a power-user feature.  Set the wrong option or enter a bad value and your site can fail to load!  Use it wisely!

  • Go to WPCloud Deploy->Applications
  • Click on the site for which this action will apply
  • Click on the PHP  tab
  • Scroll down to the [DANGER ZONE] ADD OR UPDATE A PHP OPTION section
  • Enter the PHP Item you want to add or change in the php.ini item field
  • Enter the value for the item in the next text box
  • Click the SET THE SELECTED OPTION button.
  • Click the OK option on the confirmation popup

After a while the screen will refresh – if the operation is successful.  If the operation fails, you’ll get a popup message.

You can see a full log of the operation under the SSH LOG screen.

Share: