WPCloudDeploy 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 8.2
  • 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 Common PHP Options

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.

Set PHP Workers

An ADMIN can change the number of PHP workers for a site.

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] PHP WORKERS section
  • Set the PHP Workers Parametera as desired
  • Click the UPDATE 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.


Change The Max WordPress Upload Size

If you’re looking to change the maximum size allowed for file uploads into WordPress, the PHP option is not the only item that needs to be changed.  You also need to change some NGINX options as well.

Because of this, we have a dedicated option for changing the Maximum upload filesize in WordPress.

You can find it at the bottom of the TWEAKS tab for your site.

Share: