Re: PHP and Apache
| From: | Wolf | Date: | Mon, 23 Jun 2008 19:10:09 +0000 |
| Subject: | Re: PHP and Apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-275855@lists.php.net to get a copy of this message | ||
---- R B <rbpphp@gmail.com> 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?
Why not just read the manual and add the appropriate line for your version of PHP ?
Makes the most sense.
Or add all the lines.
Pretty much an Apache list question though.
Wolf