Jump to content

PHP scripts won't execute


neal.holts

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/105643-php-scripts-wont-execute/
Share on other sites

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?

  • 4 months later...

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.

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.