neal.holts Posted May 14, 2008 Share Posted May 14, 2008 I can't get PHP to work. Windows Explorer prints the following: Hello World "); ?> Firefox asks me if I would like to download the file test1.php. The test file contains the following code: <html><body> <?php echo("<p>Hello World</p>"); ?> </body></html> Here is the link: http://10.9.0.9/neal/test1.php I think all the file permissions are set correctly. What is going on? Thank you for your help. Quote Link to comment https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/ Share on other sites More sharing options...
RichardRotterdam Posted May 14, 2008 Share Posted May 14, 2008 i think you have not set your apache server or iis server right if you want something easy install xampp Quote Link to comment https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/#findComment-541246 Share on other sites More sharing options...
BrianM Posted May 14, 2008 Share Posted May 14, 2008 Yes, as DJ Kat said, your web server isn't talking with PHP as it should or at all, because your code is fine. What version of Apache and PHP are you using? Quote Link to comment https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/#findComment-541257 Share on other sites More sharing options...
BrianM Posted May 14, 2008 Share Posted May 14, 2008 Better yet, are you even using PHP? Because if Apache is having problems talking with PHP it shouldn't even start your web server, which apparently it is up and running. That is if, you are even running Apache and not another web server. Which web server are you running with? Quote Link to comment https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/#findComment-541265 Share on other sites More sharing options...
neal.holts Posted September 18, 2008 Author Share Posted September 18, 2008 After an incredibly long delay, some more information: The server being used is Windows 2000 SP4 with IIS5. The version of php is 5.2.5. What other information would be helpful? Since no one has posted on this topic in 30 days, if I don't get a response in a week, I'll just start a new topic. Quote Link to comment https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/#findComment-645033 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.