These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to apply PHP changes? on the new forum.
Well, my problem is really simple. I have changed upload max file size (to increase import file size limit in phpmyadmin), saved it but it will have no effect til I restart php. But. How do I restart PHP? (I am not a root user in Virtualmin instead I have several virtual servers under a parent) .
Second question: which php.ini should be changed? Parent or subserver?
Could it be done without using SSH?
If you log into Virtualmin, and select your Virtual Server from the dropdown list -- go into Services -> PHP 5 Configuration -> Resource Limits, you should be able to edit the max file upload size there.
In most cases, you shouldn't need to do anything else in order to make those changes active.
To verify that they're working correctly, you could create a PHP script named "test.php", and have it execute "phpinfo()", which will show you the current values of all the php.ini parameters.
-Eric
Thank you, I checked it and it works.
Thanks for the instructions Eric. I followed these steps as well, but the changes aren't updating my site(s).
I find I have to first delete the php5 file that is in /home/yourserver/etc/ and then restart Apache for a specific website to take the new global PHP setting. Quite a pain when you have lots of sites.