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 157,685 views tags: errors php

How to Set different character sets with PHP and HTML to display correctly.
Knowledgebase Article 207,550 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 113,133 views tags: htaccess pages specific ssl

Related Help Content

The redirection of www.yourdomain.com/default.html or index.html to http://www.yourdomain.com/index.php?act=whatever redirects it to http://www.yourdomain.com/index.php%3fact=whatever In other words,
Knowledgebase Article 1,026,151 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 212,659 views tags: arabic change character chinese html japanese language languages sets

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

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

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

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

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

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