Support Forums

Full Version: [HELP]Installed WAMP,what should i do to compile my first php script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I had downloaded and installed WAMP server from here

Code:
http://www.wampserver.com/en/

what are the configurations i should do in the WAMP server to compile and execute my "first" php script?

or if possible link me to a "how to tutorial",

I am just an beginner,so please bear with me

Now looking for some help......
What is a WAMP?
I've never heard of this thing.
Sounds interesting though.
bro i am noob to php,you are a coder in php,never heared of WAMp?

you reply sounds interesting to me,any way give me a helping hand Smile
Sorry for the late reply;

You don't really need to configure wamp, if it's your first time using it just click it and select "Start all services".

It should work, you can test it by going to http://localhost
Run WAMP and start all services!
Then check whether WAMP's home page appears when you go to this page:
Code:
http://localhost/

If WAMP page appears then simply code any page in PHP and move that php file to this directory:
Code:
C:\wamp\www

Then to run the php file on your browser, you'll have to type in like this:
Code:
http://localhost/yourpage.php

the PHP file will not run with simple "file" command in your browser!


The explaination was brief! hope it helps!
(10-05-2010, 08:06 AM)dareknyght Wrote: [ -> ]Run WAMP and start all services!
Then check whether WAMP's home page appears when you go to this page:
Code:
http://localhost/

If WAMP page appears then simply code any page in PHP and move that php file to this directory:
Code:
C:\wamp\www

Then to run the php file on your browser, you'll have to type in like this:
Code:
http://localhost/yourpage.php

the PHP file will not run with simple "file" command in your browser!


The explaination was brief! hope it helps!

Yeah it helps, thanks buddy
To provide a more detailed answer on how to "compile" your PHP script:

PHP compiles and executes at run-time. So whereas C# is compiled into bytecode prior to run-time into a binary and then distributed, PHP compiles each time the script is ran.
(09-21-2010, 09:45 PM)Dean Wrote: [ -> ]What is a WAMP?
I've never heard of this thing.
Sounds interesting though.

WAMP is a server stack running on Windows that contains Apache (web server), MySQL (database) and PHP (scripting language). It is not one application (note: WampServer is a downloadable bundle, not to be confused with the standard acronym) but rather a description of three commonly found applications. Other variants include LAMP (Linux Apache, MySQL and PHP) and MAMP (Mac), etc.
Damnit, Disease. Here for that feather as well, eh?
(10-07-2010, 02:22 AM)Orgy Wrote: [ -> ]Damnit, Disease. Here for that feather as well, eh?

Not particularly. I'm mostly just here to get away from the nonstop "help me with my shell?" questions.
Pages: 1 2