RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Zeev Suraski
At 08:26 14/01/2003, Derick Rethans wrote:

A patch for naming it libphp5 or a patch that enables them to work
together in the same webserver? The latter is quite hard and 'cookie a
patch' for that will almost certainly not work.


Wouldn't --enable-versioning work just fine?

Zeev


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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Derick Rethans
On Tue, 14 Jan 2003, Zeev Suraski wrote:

 At 08:26 14/01/2003, Derick Rethans wrote:
 A patch for naming it libphp5 or a patch that enables them to work
 together in the same webserver? The latter is quite hard and 'cookie a
 patch' for that will almost certainly not work.
 
 Wouldn't --enable-versioning work just fine?

It didn't even work fine with php3/php4 last time I tried it. Also, why 
would we need it for php4/php5?

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Pierre-Alain Joye
On Tue, 14 Jan 2003 11:30:53 +0100 (CET)
Derick Rethans [EMAIL PROTECTED] wrote:

 It didn't even work fine with php3/php4 last time I tried it.

that works for the core and for ie, mysql, as far as I remember :).

 Also, why would we need it for php4/php5?

If it s not too much work to make it possible, it should be a good
thing.

pierre

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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Zeev Suraski
At 12:30 14/01/2003, Derick Rethans wrote:

On Tue, 14 Jan 2003, Zeev Suraski wrote:

 At 08:26 14/01/2003, Derick Rethans wrote:
 A patch for naming it libphp5 or a patch that enables them to work
 together in the same webserver? The latter is quite hard and 'cookie a
 patch' for that will almost certainly not work.

 Wouldn't --enable-versioning work just fine?

It didn't even work fine with php3/php4 last time I tried it.


I was under the impression it works well...


 Also, why
would we need it for php4/php5?


Because it'll probably not be 100.0% downwards compatible...

Zeev


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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Derick Rethans
On Tue, 14 Jan 2003, Zeev Suraski wrote:

 At 12:30 14/01/2003, Derick Rethans wrote:
 
   Also, why would we need it for php4/php5?
 
 Because it'll probably not be 100.0% downwards compatible...

hmm, I think a nice thing to do is to make a list of those things then, 
and how they can be solved. It's easier to start on that now then do 
that at the end, when we already forgot about it.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Zeev Suraski
At 12:40 14/01/2003, Derick Rethans wrote:

On Tue, 14 Jan 2003, Zeev Suraski wrote:

 At 12:30 14/01/2003, Derick Rethans wrote:

   Also, why would we need it for php4/php5?

 Because it'll probably not be 100.0% downwards compatible...

hmm, I think a nice thing to do is to make a list of those things then,
and how they can be solved. It's easier to start on that now then do
that at the end, when we already forgot about it.


Where's the fun in that? :)

Zeev


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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Derick Rethans
On Tue, 14 Jan 2003, Zeev Suraski wrote:

 At 12:40 14/01/2003, Derick Rethans wrote:
 
 hmm, I think a nice thing to do is to make a list of those things then,
 and how they can be solved. It's easier to start on that now then do
 that at the end, when we already forgot about it.
 
 Where's the fun in that? :)

You can't always have fun, but it has to do with responsibility to 
users. :)

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Pierre-Alain Joye
On Tue, 14 Jan 2003 11:59:27 +0100 (CET)
Derick Rethans [EMAIL PROTECTED] wrote:

 You can't always have fun, but it has to do with responsibility to 
 users. :)

Oh ? really ? *sick* ;-)

pierre

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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread James Cox

 On Tue, 14 Jan 2003, James Cox wrote:

   On Mon, 13 Jan 2003 20:46:45 -0500
   Mike Robinson [EMAIL PROTECTED] wrote:
  
I'm wondering if it will be possible to build and use both PHP4
and PHP5 as apache modules on the same webserver, similar to the
way we could use both PHP3 and PHP4.
  
   I hope so. libphp5 will be the module names, afaik. That will avoid
   conflict names. is it ?
  
  i am already cooking up a patch for this.. almost done. just
 waiting on when
  we split off php5 to commit it.

 A patch for naming it libphp5 or a patch that enables them to work
 together in the same webserver? The latter is quite hard and 'cookie a
 patch' for that will almost certainly not work.

the patch for naming everything php5 and not php4 is done, i am just
finishing the patch to enable versioning properly.

 -- james


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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Mike Robinson

 From: James Cox wrote:

 Mike Robinson [EMAIL PROTECTED] wrote:

 I'm wondering if it will be possible to build and use 
 both PHP4 and PHP5 as apache modules on the same webserver, 
 similar to the way we could use both PHP3 and PHP4.

[snip]

 the patch for naming everything php5 and not php4 is done, i 
 am just finishing the patch to enable versioning properly.

Excellent. Way to go James.
This'll be so handy.
I was a little concerned about the application-type directives
in httpd.conf and how that would work.

I'm assuming PHP5 will use _only_ ZE2 once it's forked?

Regards
Mike Robinson



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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Wez Furlong
On Tue, 14 Jan 2003, Mike Robinson wrote:
 I'm assuming PHP5 will use _only_ ZE2 once it's forked?

s/will/does/
s/once/now/




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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Hartmut Holzgraefe
Zeev Suraski wrote:

 Wouldn't --enable-versioning work just fine?

It didn't even work fine with php3/php4 last time I tried it.

 
I was under the impression it works well...

on some systems (Solaris ...) it will disable extension loading
as there it does not only hide symbols towards the loader of
the php module itself, but also from everything it loads itself :(

the behaviour depends on the runtime linker/loader used,
i know for sure that it works for linux and fails for solaris,
and afair *bsd won't work either

--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: [EMAIL PROTECTED]
Tel.:  +49-711-99091-77


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-14 Thread Dave Mertens
On Tue, Jan 14, 2003 at 02:48:04AM +0100, Pierre-Alain Joye wrote:
 On Mon, 13 Jan 2003 20:46:45 -0500
 Mike Robinson [EMAIL PROTECTED] wrote:
 
  Hiya,
  
  I'm wondering if it will be possible to build and use both PHP4
  and PHP5 as apache modules on the same webserver, similar to the
  way we could use both PHP3 and PHP4.
 
 I hope so. libphp5 will be the module names, afaik. That will avoid
 conflict names. is it ?
Well, i guess if the name will be libphp5 (just as it is now libphp4), apache 
shouldn't have any problems with
But the big question is. Will .php be parsed with php5 or php4. 

With the upgrade from php3 to php4 we've just set the script handler per (virtual) 
host.
Default was php3 and the upgraded sites were than using php4.

Another option is that you introduce an extention like php5, but removing them later 
would be a hell of a job.
I still remember that i had to rename all the files in several projects. Well, 
scripting makes the difference!
If i find the (bash) script (uses sed, awk, grep and cut) i will post it to the list.

For those windows users: Just download the gentoo (http://www.gentoo.org) live cd 
(16MB) and boot the CD
You'll find a very complete installation cd. Just setup a network connection, start 
the sshd deamon
and copy the files from your workstation to the gentoo system. Run the script and copy 
back the results.
(Oh, you don't need to install the distro itself)

Note that are more distro that are offering live cd's just a get the 'feeling' of 
linux, without installing the distro.
Much more persuasive than those 120 day limit cd's from Microsoft ;-)

-- 
With best regards,

Dave Mertens - Senior Development Manager
[EMAIL PROTECTED]

Innovative Solutions in Media
Schiekade 101
3033 BG  Rotterdam, Netherlands
T +31-10-2436060
F +31-10-2436066 
http://www.ism.nl

Quality Solutions - Reliable Partner

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




[PHP-DEV] PHP4 + PHP5

2003-01-13 Thread Mike Robinson
Hiya,

I'm wondering if it will be possible to build and use both PHP4
and PHP5 as apache modules on the same webserver, similar to the
way we could use both PHP3 and PHP4.

Regards
Mike Robinson


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-13 Thread Pierre-Alain Joye
On Mon, 13 Jan 2003 20:46:45 -0500
Mike Robinson [EMAIL PROTECTED] wrote:

 Hiya,
 
 I'm wondering if it will be possible to build and use both PHP4
 and PHP5 as apache modules on the same webserver, similar to the
 way we could use both PHP3 and PHP4.

I hope so. libphp5 will be the module names, afaik. That will avoid
conflict names. is it ?

pierre

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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-13 Thread James Cox

 On Mon, 13 Jan 2003 20:46:45 -0500
 Mike Robinson [EMAIL PROTECTED] wrote:

  Hiya,
 
  I'm wondering if it will be possible to build and use both PHP4
  and PHP5 as apache modules on the same webserver, similar to the
  way we could use both PHP3 and PHP4.

 I hope so. libphp5 will be the module names, afaik. That will avoid
 conflict names. is it ?

i am already cooking up a patch for this.. almost done. just waiting on when
we split off php5 to commit it.

 -- james


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-13 Thread Magnus Määttä
On Mon, 13 Jan 2003 20:46:45 -0500
Mike Robinson [EMAIL PROTECTED] wrote:

 Hiya,
 
 I'm wondering if it will be possible to build and use both PHP4
 and PHP5 as apache modules on the same webserver, similar to the
 way we could use both PHP3 and PHP4.

A very few messages before James just said he's working on it right
now.

/ Magnus

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




RE: [PHP-DEV] PHP4 + PHP5

2003-01-13 Thread Derick Rethans
On Tue, 14 Jan 2003, James Cox wrote:

  On Mon, 13 Jan 2003 20:46:45 -0500
  Mike Robinson [EMAIL PROTECTED] wrote:
 
   I'm wondering if it will be possible to build and use both PHP4
   and PHP5 as apache modules on the same webserver, similar to the
   way we could use both PHP3 and PHP4.
 
  I hope so. libphp5 will be the module names, afaik. That will avoid
  conflict names. is it ?
 
 i am already cooking up a patch for this.. almost done. just waiting on when
 we split off php5 to commit it.

A patch for naming it libphp5 or a patch that enables them to work 
together in the same webserver? The latter is quite hard and 'cookie a 
patch' for that will almost certainly not work.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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




Re: [PHP-DEV] PHP4 + PHP5

2003-01-13 Thread Derick Rethans
On Tue, 14 Jan 2003, Pierre-Alain Joye wrote:

 On Mon, 13 Jan 2003 20:46:45 -0500
 Mike Robinson [EMAIL PROTECTED] wrote:
  
  I'm wondering if it will be possible to build and use both PHP4
  and PHP5 as apache modules on the same webserver, similar to the
  way we could use both PHP3 and PHP4.
 
 I hope so. libphp5 will be the module names, afaik. That will avoid
 conflict names. is it ?

No, it most likely won't as both modules share the same symbols.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


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