Leading Web Hosting Provider in India Since 2012.
Award-winning Web Hosting Company
Everything that you need to build, host and manage a website is available at just 99/mo

(12)Cannot allocate memory: couldn’t create child process:/opt/suphp/sbin/suphp for /home/username/public_html/index.php

(12)Cannot allocate memory: couldn’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 & access Service Configuration >> Configure PHP and SuExec. From the drop down for PHP Handler select suphp & click on Save configuration. Try browsing the websites now.

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.

Looking for Cloud Hosting Companies in India? Look no further than MilesWeb Hosting!


Neha Khanna

My name is Neha Khanna, I work for I am interested in posting content on various topics. I aim at posting informative articles that provide value to people.

One thought on “(12)Cannot allocate memory: couldn’t create child process:/opt/suphp/sbin/suphp for /home/username/public_html/index.php

  • August 10, 2016 at 6:59 am

    Helpful Article !!
    That’s a good post. I’m sure it will help many of your readers finally understand the basics and take action. We often forget how hard it was to set up our first hosting account and web site.


Leave a Reply

Your email address will not be published. Required fields are marked *