Wednesday, June 20, 2007

Add type in Windows php


Add the line at the end as
    LoadModule php5_module "c:/php-5.0.2-Win32/php5apache2.dll"

Search for AddType and insert the following lines
    #AddType application/x-tar .tgz
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml .php
    AddType application/x-httpd-source .phps

Configure the path to php.ini
PHPIniDir "C:/php-5.0.2-Win32"
Start Apache Server
--
regards

sajjad.c

No comments:

Post a Comment