HostGator Web Hosting Help

PHP pages do not display

If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP.

To serve HTML pages to browsers, we don't associate the Apache processes with your 20 process limit. We have to have a process limit per user because this is a shared hosting environment. If we did not have limits not everyone could use PHP.

  1. Log in to your HostGator cPanel account.
  2. Scroll down to the bottom of the error log and click on "Click here to see a list of your running processes".  
  3. If you have about 20, and most of them look like they are "php index.php" and several days old, you can almost always assume that they have stalled and are no longer functioning properly.  
  4. Click on the kill process link to the right of an old process, continue to do so until your PHP pages start working.

Was this resource helpful?

Did this resolve your issue?

Please add any other comments or suggestions about this content:

Recommended Help Content

How to customize your html or php error pages.
Knowledgebase Article 149,484 views tags: errors php

How to Set different character sets with PHP and HTML to display correctly.
Knowledgebase Article 186,559 views tags: arabic character chinese collation japanese language languages mysql php phpmyadmin sets

This article will show a way to protect specific pages of your website with SSL. This may have benefits for SEO and can be used on pages that contain forms, shopping carts or any other page where users might enter sensitive information.
Knowledgebase Article 102,800 views tags: htaccess pages specific ssl

Related Help Content

The redirection of or index.html to redirects it to In other words,
Knowledgebase Article 997,487 views tags: htaccess messing mod php redirect redirects rewrite variable variables

Instructions to set different character sets in HTML. Note: Not all character sets will be correctly rendered with this encoding format, but most will. You can find specific information about which ch
Knowledgebase Article 189,254 views tags: arabic change character chinese html japanese language languages sets

What are Apache Handlers? How do I setup customized Apache Handlers?
Knowledgebase Article 188,190 views tags: apache handler handlers

How do I turn the display_errors flag on for php?
Knowledgebase Article 214,038 views tags: display errors php

How do I view the php information page?
Knowledgebase Article 182,832 views tags: php phpinfo

How do I display my home page which is using a name other than index.html?
Knowledgebase Article 313,172 views tags: directory homepage htaccess index order

Executing php code within a HTML document
Knowledgebase Article 217,929 views tags: addhandler addtype handler mime parse php sethandler

How do I redirect users to another page using PHP?
Knowledgebase Article 884,771 views tags: header location php redirect redirects