Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OS Crashed, PHP and Apache OK - My pages wont work 1

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
After a system crash, new server and full restore from tape, it appears that PHP pages won't work.

I have some very complex pages which are not working. Simple pages such as
Code:
<?php
echo 'Hello world!';
?>
work OK. I have even added
Code:
ini_set('display_errors',1);
    error_reporting(E_ALL|E_STRICT);
and nothing comes up. Pages are rendered totally blank. I have played with it placing echo commands and none of them show. I have removed chunks of code and nothing ... I have tried everything I can think of and cannot figure why pages that were working fine prior to the crash are now not working. Given that a full restore was performed and same version of OS, Apache and PHP are running I cannot think of anything obvious to look into.

What do you guys suggest I do?

Thank you all for your help!!!


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
please change your ini file to report startup errors as well.

do you get the same issues on the SAPI as you do in cli mode?
 
Setting directives display_errors and display_startup_errors to On helped ... Problem solved!

Thanks!


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top