So I added a php info page checked the directory of my ini and changed and saved the new memory limit which I set to 64m. Changes are saved and when I reopen the file it shows me that it has been changed however when I go back to the php info page it is still set to 32m. How can I go about changing it since thats the only way I know how and that doesnt work.
after doing the above I have restarted the server no luck.
I am on centos vps and have ssh access
I have already said that I restarted the server yet I am getting replies telling me to restart it.
I have already said that I have made a php info page and still getting replies telling me to create a php info page…
Loaded Configuration File /opt/cpanel/ea-php56/root/etc/php.ini
Please read the question properly before answering otherwise don’t bother answering at all.
3
Answers
It does sound like you may need to restart the web server. Have you tried running php –ini on command line just to check the paths?
with regatd for your positive question
firstly :
you should define your php.ini path
secondly after any change in php.ini , you should resart apache or iis server for applying changes
create a file php.ini and run it
you can see your php settings , please check your php.ini path
As crazy as it can be restarting your site in IIS from the GUI does not restart php.
You need to open an elevated command prompt and type this command:
and voilá you’ll see that iis updates the changes in php.ini.