# http://www.smart.net
# name: httpd-mod_php.conf

##For Apache_2.2
<IfVersion <= 2.3>
    LoadModule php5_module "../../php5/{$PHP_VERSION}/php5apache2_2.dll"
    <IfModule mod_php5.c>
        PHPINIDir "../../php5/{$PHP_VERSION}"
        AddType   application/x-httpd-php        .php
        AddType   application/x-httpd-php-source .phps
    </IfModule>
</IfVersion>

##For Apache_2.4
<IfVersion >= 2.3>
    LoadModule php5_module "../../php5/{$PHP_VERSION}/php5apache2_4.dll"
    <IfModule mod_php5.c>
        PHPINIDir "../../php5/{$PHP_VERSION}"
        AddType   application/x-httpd-php        .php
        AddType   application/x-httpd-php-source .phps
    </IfModule>
</IfVersion>