Forum Moderators: coopster
I've installed PHP4 in isapi mode on Win2k3/IIS6. When I try to access a PHP page, it comes back blank. The odd part is that if I just a test page with phpinfo() in it, I get results.
I've tried everything and spent the last 2 hours googling for a solution. Any ideas on why this would be happening?
Rey...
echo 'hello world!';
If this also works then it is definitely the script, not the server. But check your error logs to see what's going on.
But just to make sure you are not doing what i have done a hundred times, you should declare php with php in the opening tag. This is a problem i have on my server, because it's an old version of PHP everything has to be declared and i can't use the short echo tag e.g. <?="Hello World"?> i have to use <?php echo "Hello World";?>
If you are not already using this method then please try <?php instead of <? and let me know if this makes any difference.
I hope this makes sence.
Del