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.

Recommended Answers

All 2 Replies

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.