Member Avatar for T4gal

Can anybody help me with learning php? I went to php's website and it's got a tutorial, but the first step is creating a file called "Hello.php" and I can't seem to do that. Is there a special program I need? Or which program should I use? And then it says to put it in "document_root" which I can't seem to find.
By the way, I'm using windows if that helps at all.

Does anybody know whats wrong?

Thanks

You need to run the script in localhost web server environment in order for it execute. Download easyphp and store your scripts in its www directory then go to localweb and it should work.

If you are a newbie, you could also try installing XAMPP. The installer will install Apache, PHP, and MySQL. It is easy to install and will help you learn php, Apache, and MySQL.

Try it out

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.