Page 1 of 1

[Solved] PHP problem with Apache Server

Posted: Thu Nov 25, 2004 10:53 pm
by caladbolg
Forgive me if this is in the wrong section.

I installed an Apache server in WinXP home with PHP. I did all the configuration, and I got <?php phpinfo(); ?> to work correctly, assuring that PHP is working. But my problem is, I want to install sphpblog (beta) (for testing offline) but when I run the index.php (for installing), all I get is a blank screen. When I view the source, <html><body></body></html> is all that displays. On a server that is hosting me online, everything works fine. It's just on my offline home computer it doesn't work.

Any help would be greatly appreciated.

Posted: Fri Nov 26, 2004 3:29 am
by phpScott
check to make sure that you have display_error on in your php.ini file.
or look for it on your phpInfo() page.

are you sure that you have saved the file to the correct folder?
download and try agian?

Posted: Fri Nov 26, 2004 9:22 am
by caladbolg
Thanks for bringing error logging to my attention. For some reason, I was not able to turn on display_error. I changed 'display_error = Off' to 'display_error = On' in php.ini and restarted the server, but going to phpinfo(), it wasn't enabled. I restarted my computer as well as restarting the server with no change. (I also turned that other display_error_somethingelse = On without a change for that either).

I was able to get the server log file and found some errors with the scripts and file not found stuff.