Re: How to run PHP4 and PHP5 side-by-side

This is a discussion on Re: How to run PHP4 and PHP5 side-by-side within the PHP General forums, part of the PHP Programming Forums category; <D4ACC5B2E39AD743AA260083D8DAD6EC01086C@mail.erepu blic.com> Adam Plocher: > Hello, I'm using Apache 2.0 on a Linux ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2003
Comex
 
Posts: n/a
Default Re: How to run PHP4 and PHP5 side-by-side

<D4ACC5B2E39AD743AA260083D8DAD6EC01086C@mail.erepu blic.com>
Adam Plocher:
> Hello, I'm using Apache 2.0 on a Linux box and I'm trying to figure
> out how to run PHP5 (beta2) and PHP4 co-existantly. I have compiled
> both of them with --enable-versioning, but I can't figure out what I
> need to put in my httpd.conf to make it differentiate the two
> versions.
>
> Ideally I would like php5 to be enabled for certain virtualhosts, and
> php4 for others. But using .php5 file extensions would be acceptable
> too.
>
> I have compiled PHP4 and PHP5 with the following configure options:
> './configure' '--with-apxs2=/home/httpd/bin/apxs'
> '--with-mysql=/home/mysql' '--enable-track-vars'
> '--enable-versioning'
>
> Thanks in advance
>
> -Adam


I have this set up...

LoadModule php5_module "C:/php5/sapi/php4apache2.dll"
ScriptAlias /php/ "C:/php/"
AddType application/x-httpd-php .php5
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 /php/php.exe
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0