Jump to content

NEWBIE QUESTION


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

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.