Problem with an new PHP instalation (XP/IIS5.1)

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
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

Problem with an new PHP instalation (XP/IIS5.1)

Post by pedrokas »

Hi

I've installed a fresh version of php (5.2.1) in my toshiba notebook.
All of instalation are normal without any errors, and i create a simple php file with the obvious phpinfo() and the result was a blank page.
When i see the code beneath it was the same as the php file...

<?
phpinfo;
?>

What seem to be the problem? i've run out of solution :( :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Short tags? phpinfo; not being a defined (as a constant?)
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

Post by pedrokas »

sorry misspelling :(
<? phpinfo(); ?>

the translated page is totaly blank, no error just blank.
everething i put between the tags <? ?> desapear!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Blank in the browser or blank in the page source in the browser?

Again, use normal tags, not short tags.
<? vs <?php
User avatar
pedrokas
Forum Commoner
Posts: 32
Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal

Post by pedrokas »

feyd wrote:
Again, use normal tags, not short tags.
<? vs <?php
feyd you are the master!!! using normal tags solved the problem!

thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you ...
Post Reply