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.
Step 1 of 7
Create a file called phpinfo.php in the httpdcs folder that contains the following code:
<?php // Show all information, defaults to INFO_ALL
Step 2 of 7
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 7
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 7
In the Power panel browse to the folder where the php.ini file is located and download it.
Step 5 of 7
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.
Step 6 of 7
Upload the edit file to your VPS.
Step 7 of 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.