{"id":1020,"date":"2017-04-07T15:26:25","date_gmt":"2017-04-07T14:26:25","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=1020"},"modified":"2017-04-07T15:26:25","modified_gmt":"2017-04-07T14:26:25","slug":"finding-php-ini-files-finding-memory_limit","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2017\/04\/07\/finding-php-ini-files-finding-memory_limit\/","title":{"rendered":"Finding all of the php.ini Files and finding what the memory_limit in them is"},"content":{"rendered":"<p>Simple as it says.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nroot@aea-php-slave:~# grep -rnw '\/etc' -e 'memory_limit'\r\n\/etc\/php\/5.6\/cli\/php.ini:393:memory_limit = -1\r\n\/etc\/php\/5.6\/apache2\/php.ini:393:memory_limit = 128M\r\n\/etc\/php5\/fpm\/php.ini:406:memory_limit = 128M\r\n\/etc\/php5\/fpm\/pool.d\/www.conf.disabled:392:;php_admin_value&#x5B;memory_limit] = 32M\r\n\/etc\/php5\/fpm\/pool.d\/site.conf:392:;php_admin_value&#x5B;memory_limit] = 32M\r\n\/etc\/php5\/cli\/php.ini:406:memory_limit = -1\r\n\/etc\/php5\/apache2\/php.ini:406:memory_limit = 128M\r\n<\/pre>\n<p>p<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple as it says. root@aea-php-slave:~# grep -rnw &#8216;\/etc&#8217; -e &#8216;memory_limit&#8217; \/etc\/php\/5.6\/cli\/php.ini:393:memory_limit = -1 \/etc\/php\/5.6\/apache2\/php.ini:393:memory_limit = 128M \/etc\/php5\/fpm\/php.ini:406:memory_limit = 128M \/etc\/php5\/fpm\/pool.d\/www.conf.disabled:392:;php_admin_value&#x5B;memory_limit] = 32M \/etc\/php5\/fpm\/pool.d\/site.conf:392:;php_admin_value&#x5B;memory_limit] = 32M \/etc\/php5\/cli\/php.ini:406:memory_limit = -1 \/etc\/php5\/apache2\/php.ini:406:memory_limit = 128M p<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,18,61],"tags":[],"class_list":["post-1020","post","type-post","status-publish","format-standard","hentry","category-linux","category-php","category-rackspace"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=1020"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1020\/revisions"}],"predecessor-version":[{"id":1021,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/1020\/revisions\/1021"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}