[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently

2005-08-22 Thread phpnet at gwaihir dot net
 ID:   34195
 User updated by:  phpnet at gwaihir dot net
 Reported By:  phpnet at gwaihir dot net
 Status:   Open
 Bug Type: Documentation problem
 Operating System: all
 PHP Version:  Irrelevant
 New Comment:

Derick, of course, if modules are possible that would be best. But
while that setup of yours is an excellent one for testing with multiple
versions, I don't quite see that work out on a standard production
server just yet, where for various reasons (mainly firewalls and
suspicions) all users will need to be served from port 80.

Or is there is some way to internally redirect from one Apache to
another? I.e. receive all requests with the Apache on port 80, but
redirect some to another internally, with for example an .htaccess on a
particular folder.


Previous Comments:


[2005-08-20 22:07:47] [EMAIL PROTECTED]

I think that running as CGI is quite suboptimal. I prefer to run two
different apache setups. Some info on that is here:
http://ez.no/community/articles/multiple_apache_installations_howto



[2005-08-20 14:55:42] phpnet at gwaihir dot net

Description:

This much needed bit of documentation is missing. It may not work the 3
- 4 way, but A way is badly needed to get major hosts to start the
transition period. After all, expecting folk to just flip the switch
on a production machine just isn't realistic (nor would it get PHP a
good rep).

So, I hear it can be done by adding php5 as CGI (initially). Can you
write down how?

It would be even better of course, if some folk subsequently went out
and familiarized some of the major hosting panel makers (such as
CPanel) on how to make it part of their software..






-- 
Edit this bug report at http://bugs.php.net/?id=34195edit=1


[PHP-DOC] #34195 [Opn]: Running PHP 4 and PHP 5 concurrently

2005-08-22 Thread phpnet at gwaihir dot net
 ID:   34195
 User updated by:  phpnet at gwaihir dot net
 Reported By:  phpnet at gwaihir dot net
 Status:   Open
 Bug Type: Documentation problem
 Operating System: all
 PHP Version:  Irrelevant
 New Comment:

Oops.. sorry. Apparently missed that bit. Only saw the direct
multi-port approach.

So, a link to your document from the php.net docs would pretty much be
all it takes to fill this hiatus. :)

Although.. this approach moves sites (virtual hosts) over as a whole.
Would there be a more finegrained way too, allowing an individual user
to run some scripts on php4 still while running others on php5 already?
I'm thinking towards using .php5 as extention, or a .htaccess directive
in a specific folder..


Previous Comments:


[2005-08-22 14:43:34] [EMAIL PROTECTED]

That's exactly what the document describes - using mod_proxy to proxy
through something that only is bind to localhost:8080. Ofcourse, if you
have two external IPs you can simply bind each of the apaches to a
different IP.



[2005-08-22 14:23:40] phpnet at gwaihir dot net

Derick, of course, if modules are possible that would be best. But
while that setup of yours is an excellent one for testing with multiple
versions, I don't quite see that work out on a standard production
server just yet, where for various reasons (mainly firewalls and
suspicions) all users will need to be served from port 80.

Or is there is some way to internally redirect from one Apache to
another? I.e. receive all requests with the Apache on port 80, but
redirect some to another internally, with for example an .htaccess on a
particular folder.



[2005-08-20 22:07:47] [EMAIL PROTECTED]

I think that running as CGI is quite suboptimal. I prefer to run two
different apache setups. Some info on that is here:
http://ez.no/community/articles/multiple_apache_installations_howto



[2005-08-20 14:55:42] phpnet at gwaihir dot net

Description:

This much needed bit of documentation is missing. It may not work the 3
- 4 way, but A way is badly needed to get major hosts to start the
transition period. After all, expecting folk to just flip the switch
on a production machine just isn't realistic (nor would it get PHP a
good rep).

So, I hear it can be done by adding php5 as CGI (initially). Can you
write down how?

It would be even better of course, if some folk subsequently went out
and familiarized some of the major hosting panel makers (such as
CPanel) on how to make it part of their software..






-- 
Edit this bug report at http://bugs.php.net/?id=34195edit=1


[PHP-DOC] #34195 [NEW]: Running PHP 4 and PHP 5 concurrently

2005-08-20 Thread phpnet at gwaihir dot net
From: phpnet at gwaihir dot net
Operating system: all
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Running PHP 4 and PHP 5 concurrently

Description:

This much needed bit of documentation is missing. It may not work the 3 -
4 way, but A way is badly needed to get major hosts to start the transition
period. After all, expecting folk to just flip the switch on a production
machine just isn't realistic (nor would it get PHP a good rep).

So, I hear it can be done by adding php5 as CGI (initially). Can you write
down how?

It would be even better of course, if some folk subsequently went out and
familiarized some of the major hosting panel makers (such as CPanel) on
how to make it part of their software..


-- 
Edit bug report at http://bugs.php.net/?id=34195edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34195r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34195r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34195r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=34195r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=34195r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=34195r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=34195r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=34195r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34195r=support
Expected behavior:   http://bugs.php.net/fix.php?id=34195r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=34195r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=34195r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=34195r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34195r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=34195r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=34195r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34195r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34195r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=34195r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34195r=mysqlcfg