Hi Team,
I am not able to increase the memory limit for my website.
Can you please help me with the same.
Regards, Kanchan Singh
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
What I would personally do is the following:
info.php
with the following content:Save the file and then visit the file via your browser, eg
your_website.com/info.php
This will show you your PHP configuration as follows:
Loaded Configuration File
which will show you the exact location of yourphp.ini
file. In my case it is:But keep in mind that if you are using a different PHP version with a different handler the location would be different.
memory_limit
line and update the value accordingly:If you want to change this for your PHP CLI too, you could run
php -i | grep php.ini
and this will show you the location of the php.ini file for your CLI version.Hope that this helps!
Best,
Bobby