Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

How to install PHP on Apache?

Discussion in 'Programming' started by gilbertsavier, Aug 4, 2009.

  1. gilbertsavier

    gilbertsavier New Member Webmaster

    You need to add the following lines to httpd.conf (If you're using Apache for Win32)

    ScriptAlias /php/" c:/path-to-php-dir/"
    AddType application/x-httpd-php .php
    Action application/x-httpd-php "/php/php.exe"

    Then restart Apache and it should interpret php files correctly.

    For more information on installing Apache with php look at the following manual page:
    PHP: Installation and Configuration - Manual

Featured Resources (View All)

Share This Page