How to view and edit php.ini file in WHM or through SSH. Fatal error: Allowed memory size of 33554432 bytes exhausted
How to view and edit php.ini file in WHM or through SSH. Fatal error: Allowed memory size of 33554432 bytes exhausted
php.ini file of your server is located at /usr/local/lib/php.ini. even then you must suppose to view and edit your php.ini file from WHM despite through ssh access.
How and where you can find this option in whm.
Here is the location in WHM/Cpanel where you can find out you php.ini file to edit
Main >> Service Configuration >> PHP Configuration Editor
Usually when you need to edit your php.ini file?
When you want to install a script for which there is required more memory despite 32MB or else or when after installing a script you get this error “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 22917 bytes) in /home/user name/public_html/core/cake/libs/configure.php on line etc”.
How you can view and edit your php.ini file through ssh?
If you want to edit the php.ini file through ssh, you can use
nano /usr/local/lib/php.ini
You may want to type nano — to get help first to make this fact confirm that you can navigate the editor first.
Hope it would be quite help full.