PHP 5 Sometimes not running

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
rod_deacon
Forum Newbie
Posts: 1
Joined: Fri Jun 10, 2005 7:33 am

PHP 5 Sometimes not running

Post by rod_deacon »

I am using PHP 5.0.3 and Apache 2. Some of the code, straightforward PHP works fine, but if I have php embedded in HTML all that I see is a blank browser or some times the code printed clear. Anyone any ideas.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

PHP is running otherwise it wouldnt print it out the code, it would bring up a save file dialog.

Also a blank page makes me think you have some syntax errors
Syranide
Forum Contributor
Posts: 281
Joined: Fri May 20, 2005 3:16 pm
Location: Sweden

Post by Syranide »

PHP is NOT running if he can see the code (and no mistakes), the server could still have PHP defined as plain text.
Post Reply