Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.