954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to run the PHP

Hello everyone. I am just now starting PHP. It is my first time actually. I dont know how to run the PHP. I saved the file as "HelloWorld.php", but when i opened it in firefox, no any words appear. I want that the "Hello World" will appear, can anybody help me?. Thank you very much in advance.

letlet_pogs
Light Poster
44 posts since Aug 2008
Reputation Points: 6
Solved Threads: 1
 

PHP is a server-side language. You need to run it on a web server, and access it via a web browser.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

Yes and if you wish to view the php files locally then you will need to use a package such as xampp.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You