{"id":1115,"date":"2011-12-16T19:07:45","date_gmt":"2011-12-16T19:07:45","guid":{"rendered":"http:\/\/serverslot.com\/?p=1115"},"modified":"2013-01-23T17:54:55","modified_gmt":"2013-01-23T17:54:55","slug":"how-to-view-and-edit-php-ini-file-in-whm-or-through-ssh-fatal-error-allowed-memory-size-of-33554432-bytes-exhausted","status":"publish","type":"post","link":"https:\/\/serverslot.com\/hosting-issues\/how-to-view-and-edit-php-ini-file-in-whm-or-through-ssh-fatal-error-allowed-memory-size-of-33554432-bytes-exhausted\/","title":{"rendered":"How to view and edit php.ini file in WHM or through SSH. Fatal error: Allowed memory size of 33554432 bytes exhausted"},"content":{"rendered":"<p><strong>How to view and edit php.ini file in WHM or through SSH. \u00a0Fatal error: Allowed memory size of 33554432 bytes exhausted<\/strong><\/p>\n<p>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.<br \/>\n<script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><br \/>\nHow and where you can find this option in whm.<\/p>\n<p>Here is the location in WHM\/Cpanel where you can find out you php.ini file to edit<br \/>\nMain &gt;&gt; Service Configuration &gt;&gt; PHP Configuration Editor<\/p>\n<p>Usually when you need to edit your php.ini file?<br \/>\nWhen 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 &#8220;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&#8221;.<\/p>\n<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>How you can view and edit your php.ini file through ssh?<\/p>\n<p>If you want to edit the php.ini file through ssh, you can use<\/p>\n<p>nano \/usr\/local\/lib\/php.ini<\/p>\n<p>You may want to type nano &#8212; to get help first to make this fact confirm that you can navigate the editor first.<\/p>\n<p>Hope it would be quite help full.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to view and edit php.ini file in WHM or through SSH. \u00a0Fatal error: Allowed memory size of 33554432 bytes exhausted php.ini file of your \u2026 <a href=\"https:\/\/serverslot.com\/hosting-issues\/how-to-view-and-edit-php-ini-file-in-whm-or-through-ssh-fatal-error-allowed-memory-size-of-33554432-bytes-exhausted\/\">more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1115"}],"collection":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/comments?post=1115"}],"version-history":[{"count":0,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1115\/revisions"}],"wp:attachment":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/media?parent=1115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/categories?post=1115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/tags?post=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}