{"id":111,"date":"2012-07-09T09:55:35","date_gmt":"2012-07-09T09:55:35","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/blog\/?p=111"},"modified":"2023-09-22T07:12:48","modified_gmt":"2023-09-22T06:12:48","slug":"12cannot-allocate-memory-couldnt-create-child-processoptsuphpsbinsuphp-for-homeusernamepublic-htmlindex-php","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/blog\/control-panel\/12cannot-allocate-memory-couldnt-create-child-processoptsuphpsbinsuphp-for-homeusernamepublic-htmlindex-php\/","title":{"rendered":"(12)Cannot allocate memory: couldn&#8217;t create child process:\/opt\/suphp\/sbin\/suphp for \/home\/username\/public_html\/index.php"},"content":{"rendered":"<blockquote><p><strong>(12)Cannot allocate memory: couldn&#8217;t create child process: \/opt\/suphp\/sbin\/suphp for \/home\/username\/public_html\/index.php<\/strong><\/p><\/blockquote>\n<p><span style=\"color: #888888;\">When you browse the website, it shows <strong>Internal Server Error. <\/strong>The time you login to server and monitor apache error logs \/usr\/local\/apache\/logs\/error_log you see the error above. This is because incorrect php.conf on your server under \/usr\/local\/apache\/conf<\/span><\/p>\n<p><span style=\"color: #888888;\">Login to your server via WHM as root &amp; access Service Configuration &gt;&gt; Configure PHP and SuExec. From the drop down for PHP Handler select suphp &amp; click on Save configuration. Try browsing the websites now. <\/span><\/p>\n<p>It can also be due to cloud linux installed on the server you are hosted. Contact your webhost and ask them to increase the cloud memory limit for your hosting account.<\/p>\n<p>Looking for <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/cloud-hosting\/\">Cloud Hosting Company<\/a>? Look no further than MilesWeb Hosting!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(12)Cannot allocate memory: couldn&#8217;t create child process: \/opt\/suphp\/sbin\/suphp for \/home\/username\/public_html\/index.php When you browse the website, it shows Internal Server Error. The time you login to server and monitor apache error logs \/usr\/local\/apache\/logs\/error_log you see the error above. This is because incorrect php.conf on your server under \/usr\/local\/apache\/conf Login to your server via WHM as root&#8230; <a class=\"read-more\" href=\"https:\/\/www.milesweb.co.uk\/blog\/control-panel\/12cannot-allocate-memory-couldnt-create-child-processoptsuphpsbinsuphp-for-homeusernamepublic-htmlindex-php\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[34,32,33],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-control-panel","tag-internal-server-error","tag-php-issues","tag-suphp-issues"],"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":9,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":12623,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions\/12623"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}