Changing the PHP parameters on your 123 Reg VPS

This article will show you how to change the PHP parameters of your 123 Reg VPS.

Please note: this article was originally created for our previous generation of Virtual Private Servers. As such, these instructions may not be relevant to our current generation of Virtual Private Servers.

Step 1 of 6

Create a file called phpinfo.php in the httpdcs folder that contains the following code:

<?php // Show all information, defaults to INFO_ALL
phpinfo();
?>

Step 2 of 6

Navigate to the file you have created in a web browser and it will display the php.ini files that will need to be edited.

If the site runs on fast CGI then the php.ini file is in: /etc/php5/cgi/php.ini

If the site is using apache module it is in: /etc/php5/apache2/php.ini

For CGI (domain specific) as oppossed to server wide it would be in:/var/www/vhosts/etc/php.ini

Step 3 of 6

Then login to your server at the following https://[[IP Address]]:4643

This is the Power panel, which is always online and gives you root access to the server files.

Step 4 of 6

In the Power panel browse to the folder where the php.ini file is located and download it.

Step 5 of 6

Edit the file on your local computer. The php memory limit, max execution time and file upload limit will be in the .ini file along with all the other php parameters. Then upload the edit file to your VPS.

Step 6 of 6

Finally restart the apache web server which is located in the Services Management section of your Plesk Admin panel.

You can login to your Plesk Admin panel by going to https://[[IP Address]]:8443 in a web browser.