Juan Tamayo

Chief Technology Officer

DesignStudio

San Diego, California

Changing PHP Version on Runcloud.io Dashboard

For Internal Use Only

If you’re using the https://runcloud.io dashboard to manage your PHP applications, you may want to change the version of PHP that your application is using. This can be useful if you’re using an older version of PHP and want to upgrade to a newer one, or if you want to switch to a different version for compatibility reasons.

To change the PHP version on the runcloud.io dashboard, follow these steps:

  1. Login to your runcloud.io dashboard and select the server that you want to modify.
  2. In the left-hand menu, click on the “Web Applications” option. This will bring up a list of all the web applications that are currently running on your server.
  3. Click on the web application that you want to modify. This will bring up a dashboard for that one application.
  4. In the left-hand menu, click on settings under the Web Settings 
  5. In the “PHP Settings” section, click on the drop-down menu next to “PHP Version” and select the version of PHP that you want to use.
  6. Click on the “Save” button to save your changes.

That’s it! Your PHP application will now be using the version of PHP that you selected. Keep in mind that changing the PHP version can affect the way your application functions, so you may need to test your application after making this change to ensure that it’s still working properly.

In conclusion, changing the PHP version on the runcloud.io dashboard is a simple process that can be completed in just a few steps. By following the steps outlined above, you can easily switch to a different version of PHP for your web applications, just keep in mind each PHP version has its own php.ini file so if you had custom settings you must also change that php.ini file.

To be able to change the php.ini file in runcloud.io you would have to login via SSH to the server via a terminal then go to the specific folder depending on the version of PHP here is some examples:

 

# Config location
/etc/php[VERSION]rc/php.ini

 
# Example 

 

# Installed location /RunCloud/Packages/php73rc/

# Config location /etc/php73rc/php.ini

 

# Installed location /RunCloud/Packages/php74rc/

# Config location /etc/php74rc/php.ini

 

# Installed location /RunCloud/Packages/php80rc/

# Config location /etc/php80rc/php.ini

 

# Installed location  /RunCloud/Packages/php81rc/

# Config location   /etc/php81rc/php.ini

 

Make sure you restart PHP service by using:

sudo systemctl restart phpXXrc-fpm

 

replace XX with the version of php

Tags:

PHP,
Web Dev,
Web OPS,