Special Deal! Free Website Migration with every plan, Cheap Domain Registration, and Friendly support.

Skip to content

How to Manage PHP ?

Estimated reading: 2 minutes 124 views
  • Change PHP version
  • Restart PHP

#Change PHP version

By default, all new websites will automatically inherit the default php version set at a package level. Each website can run a different php version which can be updated at any point. The php versions available to the website are also determined on a per-package setting.

To change a website’s PHP version:

  1. Open Websites in the left sidebar
  2. Select the website you would like to update the PHP version on
  3. When the website dashboard loads select Advanced in the top navigation
  4. Select Developer tools
This is the alt tag?
  1. Scroll to PHP
This is the alt tag?
  1. Selected preferred PHP version from the drop-down
This is the alt tag?
  1. A confirmation modal will load. Select Update to finish.
This is the alt tag?

The IonCube loader is not available on PHP 8.0

#Restart PHP

Each primary website has its own PHP “container”. It is possible to restart this container without impacting other websites on your pop-a-cloudhost account.

Restarting a website’s PHP container will reload the php.ini and the redis.conf for this site and its addon, aliases, and subdomains. It will also terminate any stuck PHP workers and allow for new requests to be served.

To restart a website’s php container:

  1. Open Websites in the left sidebar
  2. Select the website you would like to update the PHP version on
  3. When the website dashboard loads select Advanced in the top navigation
  4. Select Developer tools
This is the alt tag?
  1. Scroll to PHP
This is the alt tag?
  1. Under ‘Restart PHP container’ click Restart
This is the alt tag?
  1. A confirmation modal will load. Select Restart.

The website will be momentarily offline (a few milliseconds) while the PHP service restarts.

This is the alt tag?