How To Install PHP Engine On Windows 7

Step by step manual installation :

  1. Install PHP Engine.

Installation PHP Engine

  1. Double click the installer (*.msi file, example : php-5.3.8-Win32-VC9-x86.msi). You will see a window that looks like this :
    clip_image002
  2. On the next window, click the “Next >” button.
  3. Check the radio button “I accept the terms in the license agreement”, and then click the “Next >” button.
  4. On the next window, again click the “Next >” button.
  5. On the window “PHP 5.3.8 Setup – Destination Folder”, click the “Browse…” button, and navigate to “DnDAMPP” directory under drive “C:” (example : “C:DnDAMPPPHP”), and then click the “Next >” button.
    clip_image004
  6. On the window “PHP 5.3.8 Setup – Web Server Setup”, click the radio button “Apache 2.2.x Module”, and then click the “Next >” button.
    clip_image006
  7. On the window “PHP 5.3.8 Setup – Select Apache Configuration Directory”, click the “Browse…” button, and navigate to “.DnDAMPP Apache2.2” directory under drive “C:” (example : “C:DnDAMPPApache2.2conf”), and then click the “Next >” button. See the below image :
    clip_image008
    clip_image010
  8. On the next window, click the “Next >” and “Install” button.
  9. The next step wait for the finished installation.
  10. To complete the installation process click the “Finish” button. You should see a window that looks like this :
    clip_image012
  11. Restart your apache server,if your are getting any error just reboot your PC.
  12. To ensure that the PHP installation has been done can work well, and then the next step open your favorite text editor (example : Geany, Notepad, Intype, Etc) and copy/paste below code into it :
    <?php
        phpinfo();
    ?>
    and then save as this file “phpinfo.php” in your apache document root directory (example : “C:DnDAMPPApache2.2htdocs”).
  13. The next step open your favorite browser and type “http://localhost/phpinfo.php” in the address bar and press the button enter on the keyboard. If you will see the below page , then your PHP works fine.
    clip_image014

* … Good Luck ! … *

By : DnD

Leave a Reply

Your email address will not be published. Required fields are marked *