Jump to content

Recommended Posts

Hi, I have a question for you,

 

(Win 32) I installed the apache server, stopped IIS, and started Apache, and the system tray icon says "Running all Apache Services"

 

I then go to my browser (Firefox) and try to run

 

http://localhost/Examples/HelloWorld.php

 

which is this:

 

<HTML>

<HEAD>

<TITLE>My first PHP page</TITLE>

</HEAD>

<BODY>

<?

echo "Hello world!";

?>

</BODY>

</HTML>

 

When I run this, I all I get is the code!!!  I doesn't say just:

 

Hello World!

 

like it should, but it rather displays the tags and everything!  Any ideas?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/65896-newbie-question/
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Hi Guys

I also have the same faulty instruction manual, firefox - and the same error when I try to open php files, I can see the whole code.

Sorry for being thick but the part about telling apache what to do left me flummoxed.

I downloaded the wamp5 package so everything was installed automatically.

Would be very grateful for any suggestions!

Cheers

Anya

Link to comment
https://forums.phpfreaks.com/topic/65896-newbie-question/#findComment-356001
Share on other sites

  • 2 weeks later...
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.