PHP Developers Network
http://forums.devnetwork.net/

Is PHP installed and running
http://forums.devnetwork.net/viewtopic.php?f=31&t=142732
Page 1 of 1

Author:  fadster [ Wed Jul 06, 2016 4:41 am ]
Post subject:  Is PHP installed and running

Greetings, I am new to the world of web development so I installed wamp on my laptop for local development. It seems to be working fine but when I open a basic html file created with notepad and has:

<?php echo '<p>Hello World</p>'; ?>

I get the output as (literally)

hello there
"; ?>

Also, other php calls and scripts are not working at all. What am I missing?

Thx.

Author:  requinix [ Wed Jul 06, 2016 4:48 am ]
Post subject:  Re: Is PHP installed and running

Make sure your file is named *.php and that you the address bar in your browser starts with http:// (and not file://).

Are those both the case?

Author:  fadster [ Thu Jul 07, 2016 3:32 am ]
Post subject:  Re: Is PHP installed and running

Ah, that works!

Thx.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/