Re: [PHP-DEV] [PATCH] disallow --enable-versioning with shared modules

2003-11-13 Thread Jani Taskinen
Heh, too bad I remembered this mail after spending some hours trying to get php4 + php5 work as DSO on same apache. :) I have both enabled now and it actually works. (used libtool 1.5 and had to patch sapi/apache/mod_php5.c a bit) Anyway, the issue with shared modules

[PHP-DEV] PATCH ssize_t without messing with fcgi source

2003-11-13 Thread Steph
Works with everything. (phew!) Wez?? - Steph Index: main/config.w32.h === RCS file: /repository/php-src/main/config.w32.h,v retrieving revision 1.80 diff -u -r1.80 config.w32.h --- main/config.w32.h 13 Nov 2003 10:32:04 -

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Jani Taskinen
On Thu, 13 Nov 2003, Analysis & Solutions wrote: >Hi Jani: > >On Thu, Nov 13, 2003 at 08:42:31PM +0200, Jani Taskinen wrote: > >> Last time I checked, you can't run PHP 4 & 5 as DSO on same apache >> on *nix, at least. (it crashes) > >My development setup is PHP as CGI on Apache 1.3.x / Wi

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Jani Taskinen
On Thu, 13 Nov 2003, Cesare D'Amico wrote: >Alle 19:42, giovedì 13 novembre 2003, Jani Taskinen ha scritto: >> I made the necessary changes for that to be possible in the config >> side.. > >So you managed to run both php4 and php5 as DSO on the same instance of >the server? How did you do it? (i

Re: [PHP-DEV] minor install issue (apache 1 sapi)

2003-11-13 Thread Jani Taskinen
This happens while _creating_ the rpm? In that case, I wouldn't call it a bug..you shouldn't be creating the package against your installed apache, but the one you're gonna package too. Diclaimer: this is purely 'common sense' guess as I have never done any

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship

2003-11-13 Thread Mehdi Achour
This one time, at band camp, Andi Gutmans <[EMAIL PROTECTED]> wrote: > There are things beyond articles which need to be > written such as the PHP manual, release notes, NEWS and so on. Ok, what do you need/want written? I assume there are all sorts of topics which still aren't in the PHP manua

Re: [PHP-DEV] Fwd: [PATCH] proto fix php_imap.c

2003-11-13 Thread Rasmus Lerdorf
That function is only on HEAD, so just one place to patch. I committed it. On Thu, 13 Nov 2003, Chuck Hagenbuch wrote: > I'm not sure which branch, if any, this should be committed to... > > - Forwarded message from [EMAIL PROTECTED] - > Date: Thu, 13 Nov 2003 18:08:58 +0100 >

[PHP-DEV] Fwd: [PATCH] proto fix php_imap.c

2003-11-13 Thread Chuck Hagenbuch
I'm not sure which branch, if any, this should be committed to... - Forwarded message from [EMAIL PROTECTED] - Date: Thu, 13 Nov 2003 18:08:58 +0100 From: Friedhelm Betz <[EMAIL PROTECTED]> Reply-To: Friedhelm Betz <[EMAIL PROTECTED]> Subject: [PATCH] proto fix php_imap.c To

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread walt boring
Derick Rethans wrote: On Thu, 13 Nov 2003, Analysis & Solutions wrote: The thing is, as I understand it, references are referring to a variable. Your example doesn't have a variable to refer to. If I misunderstand what's going on, I trust someone on the list will correct me. Your assesmen

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Analysis & Solutions
Hi Jani: On Thu, Nov 13, 2003 at 08:42:31PM +0200, Jani Taskinen wrote: > Last time I checked, you can't run PHP 4 & 5 as DSO on same apache > on *nix, at least. (it crashes) My development setup is PHP as CGI on Apache 1.3.x / Windows 2000. Thanks, --Dan -- FREE scripts that ma

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Cesare D'Amico
Alle 19:42, giovedì 13 novembre 2003, Jani Taskinen ha scritto: > I made the necessary changes for that to be possible in the config > side.. So you managed to run both php4 and php5 as DSO on the same instance of the server? How did you do it? (it's really interesting, and it's a pity that this

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread Analysis & Solutions
Howdy: On Thu, Nov 13, 2003 at 08:10:12PM +0100, Derick Rethans wrote: > > Your assesment is right. BUT, it is indeed quite a huge BC break and > people already said that it is going to be addressed (AFAIK Zeev > mentioned that). I've heard on several occasions, some fairly recently, that it won

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread Derick Rethans
On Thu, 13 Nov 2003, Michael Walter wrote: > Not sure I'm missing something, but I fail to see the problem: Doesn't > PHP 5 use object references anyway? So function pla() { return new > Foo(); } would return a reference anyway, instead of copying the object > itself over? No, it's not a referenc

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread Derick Rethans
On Thu, 13 Nov 2003, Analysis & Solutions wrote: > The thing is, as I understand it, references are referring to a variable. > Your example doesn't have a variable to refer to. > > If I misunderstand what's going on, I trust someone on the list will > correct me. Your assesment is right. BUT, it

[PHP-DEV] minor install issue (apache 1 sapi)

2003-11-13 Thread terry chay
I'm not too sure this belongs here or on PHP-INST (there was a message by Dinesh Anchan back in July 17 on PHP-INST where the replier wasn't helpful to the poor guy). In any case... I'm running into a minor issue, easily patched, installing PHP 4.3.3+ on Apache 1.3. PROBLEM Creating a php R

[PHP-DEV] php5 method return reference error?

2003-11-13 Thread Walt Boring
Howdy, I'm playing with php5 (from cvs), and came accross a strange error that doesn't happen with php4. Maybe someone can shed some light on this for me? I get the error "Fatal error: Only variables or references can be returned by reference in /home/waboring/devel/html/test.php on line 11" H

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread walt boring
Analysis & Solutions wrote: Hi Walt: On Thu, Nov 13, 2003 at 10:22:31AM -0800, walt boring wrote: This is very sad that the only real argument in the bug against fixing it was that it was hard. Come on! This is such a fundamental thing to be able to do. function &foo() { return something_

Re: [PHP-DEV] bug status

2003-11-13 Thread Jani Taskinen
On Thu, 13 Nov 2003, Ard Biesheuvel wrote: >Do any of you think that old bugs that were mistakenly given the status >'Closed' should be re-labelled 'Bogus' ? > >[there are quite a number of Interbase bugs that weren't actually bugs, >but were given the status 'Closed'] IMO it doesn't matter

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread Analysis & Solutions
Hi Walt: On Thu, Nov 13, 2003 at 10:22:31AM -0800, walt boring wrote: > > This is very sad that the only real argument in the bug against fixing > it was > that it was hard. Come on! This is such a fundamental thing to be able > to do. > > function &foo() { > return something_else(); > } Th

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Jani Taskinen
On Thu, 13 Nov 2003, Analysis & Solutions wrote: >The ability to run two versions at once makes compatibility testing way >easier for developers making software that uses PHP. For example, during >the transition from PHP 3 to PHP 4, I had .htm extensions mapped to PHP 3 >and .html extensions mapp

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread Michael Walter
Not sure I'm missing something, but I fail to see the problem: Doesn't PHP 5 use object references anyway? So function pla() { return new Foo(); } would return a reference anyway, instead of copying the object itself over? So just removing & should fix the problem, as long as you're dealing wi

Re: [PHP-DEV] patch review for acinclude.m4

2003-11-13 Thread Jani Taskinen
On Thu, 13 Nov 2003, Brian J. France wrote: >> Hint: Don't compile extensions as shared..it really doesn't give >> you anything extra, just more problems like this. > >Yes, I agree that is true in almost 99.9% of all cases, but I am in that >0.1%. No point building snmp (or insert any ot

Re: [PHP-DEV] php5 method return reference error?

2003-11-13 Thread walt boring
Analysis & Solutions wrote: Hi Walter: On Wed, Nov 12, 2003 at 10:13:10PM -0800, Walter A. Boring IV wrote: "Fatal error: Only variables or references can be returned by reference in /home/waboring/devel/html/test.php on line 11" This is the expected behavior. This has been discussed in

Re: [PHP-DEV] PHP 5 Beta 3

2003-11-13 Thread Andi Gutmans
At 11:03 AM 11/13/2003 +, Wez Furlong wrote: > > 2. session support for internal classes. should we have a Serializable > >interface which classes inherit, or have sleep and wakeup > > handlers in the zend_object_handlers structure ? > > I guess it's possible. In most cases I think

[PHP-DEV] bug status

2003-11-13 Thread Ard Biesheuvel
Do any of you think that old bugs that were mistakenly given the status 'Closed' should be re-labelled 'Bogus' ? [there are quite a number of Interbase bugs that weren't actually bugs, but were given the status 'Closed'] -- Ard -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship Opportunity

2003-11-13 Thread Andi Gutmans
At 09:32 AM 11/14/2003 +1100, Kevin Waterson wrote: This one time, at band camp, Andi Gutmans <[EMAIL PROTECTED]> wrote: > There are things beyond articles which need to be > written such as the PHP manual, release notes, NEWS and so on. Ok, what do you need/want written? I assume there are all so

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Analysis & Solutions
Hi Folks: On Thu, Nov 13, 2003 at 09:26:37AM +0100, Uwe Schindler wrote: > But the filenames in the win32 distrib are still php4_xxx.dll (see > snapshot compile log). This was one thing that concerned me about the new version. It would be _really_ nice if the PHP 5 DLL's would be given differen

Re: [PHP-DEV] patch review for acinclude.m4

2003-11-13 Thread Rasmus Lerdorf
On Thu, 13 Nov 2003, Jani Taskinen wrote: > Hint: Don't compile extensions as shared..it really doesn't give > you anything extra, just more problems like this. Brian has a very good reason for compiling this stuff shared! ;) -Rasmus -- PHP Internals - PHP Runtime Development Mailing L

Re: [PHP-DEV] patch review for acinclude.m4

2003-11-13 Thread Brian J. France
On Thu, 13 Nov 2003 16:19:23 +0200 (EET), Jani Taskinen wrote: > On Wed, 12 Nov 2003, Brian J. France wrote: > Yes, you shouldn't pollute LIBS like that. :) > I committed a bit better fix for this. Thank you! > Hint: Don't compile extensions as shared..it really doesn't give > you

Re: [PHP-DEV] patch review for acinclude.m4

2003-11-13 Thread Jani Taskinen
On Wed, 12 Nov 2003, Brian J. France wrote: >If there are no objections I plan on committing this tomorrow on both HEAD and >PHP_4_3 branches. This fixes the openssl FreeBSD problem I posted about >earlier. > >Is there a better way of fixing it? Yes, you shouldn't pollute LIBS like that. :

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship Opportunity

2003-11-13 Thread Jeremy Johnstone
We are completely open in this area. We want to get as much as possible in as many areas as possible, to be honest. You might take a quick look at devpapers.com to see the format of where we would be mostly using the articles/tutorials. Jeremy On Thu, 2003-11-13 at 16:32, Kevin Waterson wrote: >

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship Opportunity

2003-11-13 Thread Friedhelm Betz
On Thursday 13 November 2003 23:32, Kevin Waterson wrote: > This one time, at band camp, Andi Gutmans <[EMAIL PROTECTED]> wrote: > > There are things beyond articles which need to be > > written such as the PHP manual, release notes, NEWS and so on. > > Ok, what do you need/want written? > You are

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship Opportunity

2003-11-13 Thread Jeremy Johnstone
I don't think you were, but in any case please don't think I was putting down Zend at all when I said that. Zend does infinite things for the PHP community. I was mearly saying that we would be willing to help share that part of the responsibility (sponsoring articles/tutorials). Jeremy On Thu, 2

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Zeev Suraski
At 03:20 13/11/2003, Shane Caraveo wrote: Zeev Suraski wrote: My suggestion - we'll work on fixing ZE2 bugs (*). Fix as many as we can as soon as possible, and aim to release on Dec 15. Worst case - we'll delay to Xmas. If enough changes accumulate - we can have B3 too, but I'm not sure it w

[PHP-DEV] CVS Account Request: anabil

2003-11-13 Thread Sertaç Anadollu
I want to make PHP can call dll's directly -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FW: [PHP-CVS] cvs: php-src /ext/gd/libgd gd_jpeg.c /main config.w32.h /sapi/cgi/libfcgi/include fcgi_config_win32.h

2003-11-13 Thread Steph
vergiss, bad brain day.. -Original Message- From: Steph [mailto:[EMAIL PROTECTED] Sent: 13 November 2003 11:44 To: Wez Furlong; Edin Kadribasic; [EMAIL PROTECTED] Subject: RE: [PHP-CVS] cvs: php-src /ext/gd/libgd gd_jpeg.c /main config.w32.h /sapi/cgi/libfcgi/include fcgi_config_win32.h

Re: [PHP-DEV] PHP 5 RC 1 - Article/Tutorial Sponsorship Opportunity

2003-11-13 Thread Kevin Waterson
This one time, at band camp, Andi Gutmans <[EMAIL PROTECTED]> wrote: > There are things beyond articles which need to be > written such as the PHP manual, release notes, NEWS and so on. Ok, what do you need/want written? Kevin -- __ (_ \

Re: [PHP-DEV] PHP 5 Beta 3

2003-11-13 Thread Wez Furlong
> > 2. session support for internal classes. should we have a Serializable > >interface which classes inherit, or have sleep and wakeup > > handlers in the zend_object_handlers structure ? > > I guess it's possible. In most cases I think internal classes won't be > serialized though, su

Re: [PHP-DEV] PHP 5 Beta 3

2003-11-13 Thread Zak Greant
On Nov 12, 2003, at 16:14, Olivier Hill wrote: Wez Furlong wrote: That would be illegal. Yup.. unless PHP would be OSI certified? Version 3 of the PHP license is OSI certified now. :) Or have a license exception from MySQL, which is slow to obtain. The license exception is being reviewed by the F

Re: [PHP-DEV] PHP 5 RC1

2003-11-13 Thread Uwe Schindler
Yes the SAPI codes are changed (php5_execute was my example from NSAPI SAPI). But the filenames in the win32 distrib are still php4_xxx.dll (see snapshot compile log). At 21:49 12.11.2003, you wrote: Marcus Boerger wrote: I installed php5 from ./makerpm today and yes i needed to LoadModule mod_p

[PHP-DEV] Re: patch review for acinclude.m4

2003-11-13 Thread Sascha Schumann
On Wed, 12 Nov 2003, Brian J. France wrote: > If there are no objections I plan on committing this tomorrow on both HEAD and > PHP_4_3 branches. This fixes the openssl FreeBSD problem I posted about > earlier. What is the problem here? 4.3.4 already checks this way: configure:16456: ch

Re: [PHP-DEV] PHP 5 Beta 3

2003-11-13 Thread Adam Maccabee Trachtenberg
On Thu, 13 Nov 2003, Georg Richter wrote: > There was already a feature freeze for 4.1.x, but on Internal Developer > Meeting this week in Bordeaux we decided to add 2 more functions for multi > query support and profiling. When this is done (Monty told me to add it this > week) packaging for the

Re: [PHP-DEV] PHP 5 Beta 3

2003-11-13 Thread Georg Richter
Hi, > > There's going to be zero public testing of this extension when people > need to: > > 1) Install BitKeeper (which I can't even do on my Mac OS X) > 2) Upgrade to autoconf 2.5.3 > 3) Upgrade to Automake 1.5 > 4) Upgrade to Libtool 1.4 > 5) Upgrade to Bison 1.7.5 > > If they want to build MyS

[PHP-DEV] patch review for acinclude.m4

2003-11-13 Thread Brian J. France
If there are no objections I plan on committing this tomorrow on both HEAD and PHP_4_3 branches. This fixes the openssl FreeBSD problem I posted about earlier. Is there a better way of fixing it? Brian Index: acinclude.m4 === RCS