OK, I've pulled my hair out enough trying to figure this out. I am very new at all of this so please excuse my ignorance. I am running Win NT4 Workstation with Apache 2.0.43 and I have just installed PHP 4.3.0. The Apache monitor shows that php is running and I found a tip online that helped me verify it was running. I had alot of problems with getting rid of permission errors and with internal server errors. Now I believe I am done with those errors, however when I try to run a simple script which will print my php version, I get an error in my browser "page cannot be displayed" I am assuming that php.exe is trying to run my script but my webserver just doesn't seem to allow it to send out the display. Here is my script;
#!/apache/php/php.exe
<?
// Does my host have PHP, and if so, what version?
printf("Your host is running PHP version %s", phpversion());
?>
What seems odd to me is that if I don't have the #! line as the 1st line, apache gives me an internal server error. I see alot of freebie scripts for php that don't have that 1st line, so a part of me questions if I have php set up correctly. NOW, please wake up, I know I've made this long... Any help would be greatly appreciated.
Thanks
Frank