Changing the PHP parameters on your 123-reg VPS

This article applies to 123-reg Virtual Private Servers

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

1

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

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

2

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

3

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.

4

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

5

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.

6

Upload the edit file to your VPS.

7

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.

Offer

Answer options

Your feedback was successfully added.

Answer tracking

Track

Watch the content of this article for changes.