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

PHP guidance needed.

I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...!

Riteman
Light Poster
34 posts since Jun 2011
Reputation Points: 6
Solved Threads: 0
 

Is the PHP Forum broken?

WaltP
Posting Sage w/ dash of thyme
Moderator
10,507 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 

install wamp, xampp or any other web server in your machiene
put your site folder in /www (if wamp) or /htdocs(if xampp)
start the server
type url in your browser i.e.
http://localhost/yoursite

baig772
Junior Poster
123 posts since Mar 2011
Reputation Points: 29
Solved Threads: 6
 

As Baig says, to run PHP on your local machine you need to be running a server. This can also be done locally, for example by installing XAMPP ( http://www.apachefriends.org/en/xampp.html ). Once installed, you should move your project to the /htdocs folder, which is located in your XAMPP folder. Then start up XAMPP and start up Apache from the control panel that appears. Go to http://localhost/yourprojectname and it should run.

minitauros
Junior Poster
109 posts since Apr 2011
Reputation Points: 36
Solved Threads: 17
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: