How to check what a PHP setting actually is
Over SSH
php -i | grep memory_limit
Swap memory_limit for whichever directive you need.
Connecting over SSH.
Without SSH
- Create a file called
check.phpinpublic_htmlfrom the Files screen (edit a file), containing:<?php phpinfo(); - Visit
yourdomain.com/check.php. - Use your browser's find to search for the directive.
- Delete the file.
Step 4 matters. That page lists your entire server configuration, including paths and extension versions, and anyone who guesses the filename can read it while it is there.
Why the dashboard cannot tell you
The php.ini overrides list shows only the overrides you have set. Everything else is on a server default, and those defaults are not readable from the dashboard — so an empty list means "nothing customised", not "nothing configured".
Use this check whenever you want the real number, and raise the four common limits from the dashboard when you want to change one.
Didn’t solve it?
Write to us with your Pressy’s address and what you were doing when it went wrong. Answered by the people who built it.
Last updated