Tutorial :PHP stops rendering page somewhat arbitrarily


I've spent all morning trying to find an answer to this, to no avail. I'm working on a website, and I set up a small test server to make changes on. When I loaded the page I had made a few changes to, I noticed that the page stopped short. I reloaded the page, and it stopped at a different place. I reloaded again and again, and noticed three or four places that it stopped at, but couldn't predict where it would stop. The page itself is included from the page with the logic in it, is included when the page isn't POSTed to. I made a small page page containing only a phpinfo();, and the same problem exists as well. It stops at seemingly random places in the tables produced.

Has anyone else ever had this problem, and if so, how did you get rid of it?


  • Windows XP (Test Server)
    • PHP 5.2.9
    • Apache 2.2.11

The only change I made to the server was pointing the document root at a different folder in the httpd.conf file.


Most likely, your script is running out of 1) Memory 2) Max execution time

Check those constants in php.ini


I'd check the apache and php server logs. If you have it crash on you when only calling phpinfo() and nothing else, then it most likely is somekind of conflict (not your code).

Post your logs here if you need more help.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »