Question:

How to run a php code? what are the needed elements to be installed while running it?

by  |  earlier

0 LIKES UnLike

DO REPLY SOON PLEASE

 Tags:

   Report

7 ANSWERS


  1. what the first guy said..

    .you need the web server Apache  


  2. You have to install server to test PHP

    First Install APACHE THEN PHP

    OR

    You can use WAMP Server

  3. Download WAMP server if you are using Windows.

    Install it

    Copy your code it installed directory/wamp/www/

    now run the php file in browser by typing http://localhost/filename.php

    Note:

    If you have IIS running already type services.msc and stop IIS server and make it start manually

    Now restart WAMP

    If you are using linux use LAMP

    No other configuration is neede..

  4. WAMP  - windows apache mysql and php.

    Xampp  - (linux, mac, windows) apache mysql, php, perl

  5. Check this out http://in.php.net/install

  6. Download and install PHP FROM:

    php.net

    Install IIS it's a windows component, it's on ur windows cd

    (Inser the cd ==> go to control panel ==> add/remove program ==> add remove windows components ==> find IIS (Internet Information Services)) check it and click next

    Then copy your php files in c:/inetpub/wwroot

    and run them :)

  7. You will need to download and install PHP packge, you can get it on  http://www.php.net/downloads.php

    See url for more tech tips

    http://review-ninja.com

Question Stats

Latest activity: earlier.
This question has 7 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.