Re: Apache handler with Multiple PHP versions
| From: | Johannes Schlüter | Date: | Thu, 12 Jul 2007 00:15:38 +0000 |
| Subject: | Re: Apache handler with Multiple PHP versions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30801@lists.php.net to get a copy of this message | ||
Hi
On Thu, 2007-07-12 at 01:13 +0200, Tijnema wrote:
>
> I know this is possible, and I believe it is possible in Apache too
> with some kind of hack?
> But this still doesn't solve a lot of problems, but will generate a
> lot more with portable code. Take a bulletin board for example, there
> are a lot of files inside a board, and when you want to install that
> on your host that has PHP5 for files with .php5, you need to rename a
> hell lot of files to .php5, AND change code inside the .php5 files to
> point to the renamed files.
Then setup a VirtualHost or use an .htaccess file or something like that
where you bind the .php extension to the relevant Handler...
johannes