Jump to content

[SOLVED] phpinfo "works" but scripts don't execute?


redherring

Recommended Posts

Hi there -

 

Look up "php newbie" in the dictionary... that's my picture.

 

Anyways, i had to "upgrade" our server from php 4.3.8 to php 5.2.5 today.  Managed to get it to the point where phpinfo confirms that it's running 5.2.5, but I can't seem to run even a simple script like the following:

 

<html>

 

<head>

<title>Example #1 TDavid's Very First PHP Script ever!</title>

</head>

<? print(Date("l F d, Y")); ?>

 

<body>

</body>

</html>

 

Nothing gets rendered in the browser.  No errors, just blank, and view source reveals exactly the above.

 

It's a windows box running IIS6.

 

Thoughts?  I must really be missing something here...

 

Your assistance is GREATLY appreciated!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.