Well, the first one didn't work for obvious reasons that you probably
figured out by now (no echo/print statement).

However, did you change anything in your Apache config and restart it? 

Get the echo-this-is-a-test line to work alone, but don't open a new browser
window. Just hit Ctrl+Refresh to see if it fails without having to open a
new browser window.

This sort of sounds like a PHP module problem - perhaps it is crashing for
some reason (pagefaults?). In either case, check your error logs (Apache
ones, if you've set them up) and see if they reveal any information about
the problem.

- Jonathan

-----Original Message-----
From: John D.Wiles [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 30, 2002 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] [Corrected syntax] PHP install on Apache win 2000
Pro


My last meesage contains incorrect php syntax..sorry.  Request for help:

This does not work:

<?php "This is a test"; ?>

However, this works:

<?php phpinfo(); ?>

And this works:

<?php
echo "This is a test";
phpinfo();
?>

Then AFTER running the one before, this works:

<?php echo "This is a test"; ?>

Until a new browser window is started

- John

Windows 2000 Professional
Apache 1.3.22
IIS running only as FTP server 





_____________________________________________________________
Get a free email account at http://freemail.wwwddd.com

_____________________________________________________________
Run a small business? Then you need professional email like [EMAIL PROTECTED]
from Everyone.net  http://www.everyone.net?tag

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to