Re: PHP and Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



R B wrote:
Hello,

I´m developing a PHP system that needs one of these lines in the .htaccess,
depending of the server configuration:

AddHandler application/x-httpd-php .xyz
or

AddHandler application/x-httpd-php4 .xyz

or

AddHandler application/x-httpd-php5 .xyz

How can i detect "on the fly" which line i have to use?


<IfModule php5_module>
AddHandler application/x-httpd-php5 .xyz
</IfModule>

<IfModule php4_module>
AddHandler application/x-httpd-php4 .xyz
</IfModule>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux