[Solved] PHP problem with Apache Server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
caladbolg
Forum Newbie
Posts: 5
Joined: Thu Nov 25, 2004 10:45 pm

[Solved] PHP problem with Apache Server

Post 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.
Last edited by caladbolg on Fri Nov 26, 2004 11:08 am, edited 1 time in total.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post 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?
caladbolg
Forum Newbie
Posts: 5
Joined: Thu Nov 25, 2004 10:45 pm

Post 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.
Post Reply