Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Marko Karppinen
Dan: > If we start down this path of bundling external projects, why don't we > just bundle every external project PHP supports to make it the easiest? > This is just an absurd notion to bundle an actively developed/maintained > piece of code. The headaches it will introduce are not worth the min

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread derick
On Thu, 30 May 2002, Andi Gutmans wrote: > I think that XML is a core technology and giving plug&play access to our > users is important. Having bundled the MySQL library made it easier for > people to get started with MySQL. Does that mean I think every library > should be bundled with PHP? N

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread derick
On Wed, 29 May 2002, brad lafountain wrote: > My point of view is domxml does require a newish version of libxml2. It't not > going to hurt if we bundle that version with php. The configure script can even It does hurt... adding almost 2 MB to a distribution is simply insane IMO. Even people wh

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread derick
On Thu, 30 May 2002, Yasuo Ohgaki wrote: > Markus Fischer wrote: > > On Thu, May 30, 2002 at 09:58:31AM +0900, Yasuo Ohgaki wrote : > > > >>Markus Fischer wrote: > >> > >"Build outta the box" > > +1 for libxml2 bundle. This already discussed, isn't this? > >>> > >>> > >>> -1 > >>

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread derick
On Thu, 30 May 2002, Yasuo Ohgaki wrote: > Brad Lafountain wrote: > > > But take ext/domxml it requires a newerversion of libxml2. I didn't have it > > installed on my machine when i installed php. If we bundle say a specfic > > version of libxml2 that domxml depends on, then it won't matter how

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread derick
On Wed, 29 May 2002, Alexander Wagner wrote: > > But take ext/domxml it requires a newerversion of libxml2. I didn't > > have it installed on my machine when i installed php. If we bundle > > say a specfic version of libxml2 that domxml depends on, then it > > won't matter how fast pased the dev

Re: [PHP-DEV] Unified XML Extension

2002-05-29 Thread Christian Stocker
On Thu, 30 May 2002, Sebastian Bergmann wrote: > I think the best solution would be to do what Sterling proposes in > http://bumblebury.com/phptodo/xmsl.html. that sounds interesting :) The DOM->ZVAL Transformation is really a problem and gives us much headache in domxml with memleaks and al

RE: [PHP-DEV] Re: Client socket

2002-05-29 Thread Vinod Panicker
Makes sense. Dunno why it didn't occur to me before - the '3' says it all. I need the actual socket - which when written to will send data to the client. Is it there in the request_rec structure? Or can I get it some other way? Tx, Vinod. --- Vinod Panicker <[

[PHP-DEV] Unified XML Extension

2002-05-29 Thread Sebastian Bergmann
I think the best solution would be to do what Sterling proposes in http://bumblebury.com/phptodo/xmsl.html. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP De

Re: [PHP-DEV] Licensing and contributing. (New extension for Isis databases.)

2002-05-29 Thread Braulio José Solano Rojas
Hello. Sorry I took time. Yasuo Ohgaki wrote: > Braulio José Solano Rojas wrote: > >>I don't read your source, but it sounds your extension is sutable > >>for PECL. > >> > > > > I am new to the PHP development and I don´t know what is PECL. May you > > explain it to me? > > > > PECL modules are

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Andi Gutmans
I think that XML is a core technology and giving plug&play access to our users is important. Having bundled the MySQL library made it easier for people to get started with MySQL. Does that mean I think every library should be bundled with PHP? No, I don't. But if libxml2 is a moving target and

[PHP-DEV] Re: Dynamically loaded extensions and PHP sessions

2002-05-29 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > Is it possible to configure the PHP session system to use a dynamically loaded >session manager? > > I am loading the extension, but the session extension seems to try to initialize >itself prior to the > dynamic extension being loaded. > This is the one of the

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Dan Kalowsky
On Wed, 29 May 2002, brad lafountain wrote: > Hello all, > > It was mentioned before about bundling libxml2 with php with expat or instead > of expat. Where do we stand with this? I emailed the developer asking > permission to bundle it if we choose to do it (no response yet). -1 on this idea.

[PHP-DEV] Dynamically loaded extensions and PHP sessions

2002-05-29 Thread mlwmohawk
Is it possible to configure the PHP session system to use a dynamically loaded session manager? I am loading the extension, but the session extension seems to try to initialize itself prior to the dynamic extension being loaded. -- PHP Development Mailing List To un

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like

2002-05-29 Thread mlwmohawk
> [EMAIL PROTECTED] wrote: >> MySQL's table locking during update pretty much make sure that >> performance will degrade under heavy load with many connections. >> > It's not actually as bad as you think. With a table like this, the > table locking actually has a very minimal effect on it.

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like

2002-05-29 Thread Steve Meyers
[EMAIL PROTECTED] wrote: > MySQL's table locking during update pretty much make sure that > performance will degrade under heavy load with many connections. > It's not actually as bad as you think. With a table like this, the table locking actually has a very minimal effect on it. In any case,

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like

2002-05-29 Thread mlwmohawk
> Steve Meyers wrote: >> Well, you didn't try it with MySQL, which is significantly faster than >> Oracle and Postgres for most stuff. In any case, I agree that >> msession is probably a better solution -- I just think that having >> built-in MySQL session support would be a good thing for

Re: [PHP-DEV] PHP web farms (i.e. why msession or something likeit)

2002-05-29 Thread Yasuo Ohgaki
Steve Meyers wrote: > Well, you didn't try it with MySQL, which is significantly faster than > Oracle and Postgres for most stuff. In any case, I agree that msession is > probably a better solution -- I just think that having built-in MySQL > session support would be a good thing for PHP. You

Re: [PHP-DEV] PHP web farms (i.e. why msession or something likeit)

2002-05-29 Thread Chris Shiflett
I agree. Though I know we want to stay well away from bundling anything unnecessary with a "base" PHP installation, more sophisticated session support seems well warranted, possibly even enough to extend the capabilities of PHP's current built-in session management *and* include msession in so

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
My point of view is domxml does require a newish version of libxml2. It't not going to hurt if we bundle that version with php. The configure script can even detect a version that is installed on the system. If its greater than the packaged one then it can use that one instead alsogive the user to

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Yasuo Ohgaki
Markus Fischer wrote: > On Thu, May 30, 2002 at 09:58:31AM +0900, Yasuo Ohgaki wrote : > >>Markus Fischer wrote: >> >"Build outta the box" +1 for libxml2 bundle. This already discussed, isn't this? >>> >>> >>> -1 >>> >>> It's very actively developed. What is the reason of shared

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Markus Fischer
On Thu, May 30, 2002 at 09:58:31AM +0900, Yasuo Ohgaki wrote : > Markus Fischer wrote: > >>>"Build outta the box" > >> > >>+1 for libxml2 bundle. This already discussed, isn't this? > > > > > >-1 > > > >It's very actively developed. What is the reason of shared > >libraries if we don'

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Markus Fischer
On Thu, May 30, 2002 at 08:12:27AM +0900, Yasuo Ohgaki wrote : > Brad Lafountain wrote: > >Ok, > > > > But take ext/domxml it requires a newerversion of libxml2. I didn't have > > it > >installed on my machine when i installed php. If we bundle say a specfic > >version of libxml2 that domxml de

Re: [PHP-DEV] Fwd: Re: libxml2 - php

2002-05-29 Thread Markus Fischer
Hello, as you see he also gave the good reasons why NOT bundling it with PHP for which I am too. - Markus On Wed, May 29, 2002 at 04:53:48PM -0700, brad lafountain wrote : > > --- Daniel Veillard <[EMAIL PROTECTED]> wrote: > > Date: Wed, 29 May 2002 23:28:11 +0200 > > From: Da

[PHP-DEV] Fwd: Re: libxml2 - php

2002-05-29 Thread brad lafountain
--- Daniel Veillard <[EMAIL PROTECTED]> wrote: > Date: Wed, 29 May 2002 23:28:11 +0200 > From: Daniel Veillard <[EMAIL PROTECTED]> > To: brad lafountain <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: libxml2 - php > Reply-to: [EMAIL PROTECTED] > > On Wed, May 29, 2002 at 10:35:44AM -

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Yasuo Ohgaki
Brad Lafountain wrote: > Ok, > > But take ext/domxml it requires a newerversion of libxml2. I didn't have it > installed on my machine when i installed php. If we bundle say a specfic > version of libxml2 that domxml depends on, then it won't matter how fast pased > the development is, ext/domx

[PHP-DEV] CVS Account Request: arzt

2002-05-29 Thread Pelle Boese
Helping you to translate parts of the php docu will be a good thing imho, so phpdoc would be a nice repository for me. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
On Wed, 2002-05-29 at 13:53, Andi Gutmans wrote: > Okay I'll try and look at your patch in the next couple of days. > It's quite sensitive code which this changes (has harmless as it might > seem) so I need some time to read over it. Thanks, I did test this very thoroughly. However, due to its po

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like it)

2002-05-29 Thread Steve Meyers
[EMAIL PROTECTED] wrote: >> I agree that msession is better than using MySQL or PostgreSQL as a >> session manager. However, most people who use PHP on web farms >> already have some sort of database set up, so it seems logical to me >> to be able to use it for storing sessions. MySQL actual

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like it)

2002-05-29 Thread mlwmohawk
> [EMAIL PROTECTED] wrote: >> The problem with using databases are they they are expensive and they >> are slow. >> >> A generalized PostgreSQL session manager would be cool, I have >> actually been thinking about such an extension. Using the schema from >> the PG msession plugin, it would

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread Andi Gutmans
Okay I'll try and look at your patch in the next couple of days. It's quite sensitive code which this changes (has harmless as it might seem) so I need some time to read over it. Andi At 11:37 29/05/2002 -0500, Jason T. Greene wrote: >Andi, > >I do not see how this is semantically incorrect, or

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Alexander Wagner
brad lafountain wrote: > Ok, > > But take ext/domxml it requires a newerversion of libxml2. I didn't > have it installed on my machine when i installed php. If we bundle > say a specfic version of libxml2 that domxml depends on, then it > won't matter how fast pased the development is, ext/domxml

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV][RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread Shane Caraveo
Ahh yes, I've been bitten by this limitation a few times, quite agravating. I would definitly like to have this work. Shane phpsurf wrote: > the problem is that if you define some function : > > function someFunc(&myParam) { > ... > } > > then you can call : > someFunc($someVar); > > but

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
Ok, But take ext/domxml it requires a newerversion of libxml2. I didn't have it installed on my machine when i installed php. If we bundle say a specfic version of libxml2 that domxml depends on, then it won't matter how fast pased the development is, ext/domxml won't use it. We can obvisouly p

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread Christian Stocker
On Wed, 29 May 2002, brad lafountain wrote: > Hello all, > > It was mentioned before about bundling libxml2 with php with expat or instead > of expat. Where do we stand with this? I emailed the developer asking > permission to bundle it if we choose to do it (no response yet). öhm, libxml2 is a

[PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
Hello all, It was mentioned before about bundling libxml2 with php with expat or instead of expat. Where do we stand with this? I emailed the developer asking permission to bundle it if we choose to do it (no response yet). Also I remember reading on here before someone suggested putting bundl

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allowconstants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
Even if it is semantically incorrect( which I disagree.) How is allowing a constant/expression to be passed by reference more "semantically incorrect" than allowing a default (which is a constant) on a pass by reference argument? -Jason On Wed, 2002-05-29 at 10:53, Sebastian Bergmann wrote: >

Re: [Fwd: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT][PATCH] Allow constants / expressions to be passed by reference]]

2002-05-29 Thread Jason T. Greene
Yes and as I said in my argument, this solves some of the problems but does not solve a non-rightmost parameter being optional. -Jason On Wed, 2002-05-29 at 11:43, Sebastian Bergmann wrote: > Hamster ate my mail? Resent, just in case. > > Sebastian Bergmann wrote: > > brad lafountain wrote: >

[Fwd: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]]

2002-05-29 Thread Sebastian Bergmann
Hamster ate my mail? Resent, just in case. Sebastian Bergmann wrote: > brad lafountain wrote: >> function foo(&$bar = null) >> { >> } > > This has already been "fixed" for the Zend Engine 2: > > * Parameters that are passed by reference to a function > may now have default values. >

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH]Allow constants / expressions to be passed by reference]

2002-05-29 Thread Jason T. Greene
Andi, I do not see how this is semantically incorrect, or how it is that much different than allowing default values for pass by reference arguments. IMO The only useful reason to deny passing a constant/expression in a function is to provide a warning message. Some of the problems I outlined in

[PHP-DEV] Question about print_r

2002-05-29 Thread Garland foster
Hi all, Does anyone know any problem related to print_r($foo) if $foo is a resource, I'm developing a module where a function returns a resource, that is then used by other functions, if I use a print_r($resource) in the middle things change. I'm starting to think that print_r changes the resourc

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread Sebastian Bergmann
brad lafountain wrote: > function foo(&$bar = null) > { > } This has already been "fixed" for the Zend Engine 2: * Parameters that are passed by reference to a function may now have default values. Example: (Source: /ZendEngine2/ZEND_CHANGES) -- Sebastian Berg

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allowconstants / expressions to be passed by reference]

2002-05-29 Thread Sebastian Bergmann
Andi Gutmans wrote: > I don't see any reason to allow passing non-variables by reference. > It is semantically incorrect. +1 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread brad lafountain
I have ran into this limitation too or something like foo(); or foo($bar); function foo(&$bar = null) { } --- Andi Gutmans <[EMAIL PROTECTED]> wrote: > I don't see any reason to allow passing non-variables by reference. > It is semantically incorrect. > > Andi > > At 09:40 29/05/2002 +0

RE: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread phpsurf
the problem is that if you define some function : function someFunc(&myParam) { ... } then you can call : someFunc($someVar); but not : define("MY_CONSTANT", 0); someFunc(MY_CONSTANT); the goal is not to pass a constant by reference, but to be allowed to (exceptionnaly) pass a constant as a

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like it)

2002-05-29 Thread Steve Meyers
[EMAIL PROTECTED] wrote: > The problem with using databases are they they are expensive and they are > slow. > > A generalized PostgreSQL session manager would be cool, I have actually > been thinking about such an extension. Using the schema from the PG > msession plugin, it would be fairly eas

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread Andi Gutmans
I don't see any reason to allow passing non-variables by reference. It is semantically incorrect. Andi At 09:40 29/05/2002 +0200, Stig S. Bakken wrote: >If this patch doesn't break anything, and it doesn't give us any >difficulties with ZE2 or major design issues, I'm +1. > > - Stig > >On Tue,

[PHP-DEV] CVS Account Request: surfmax

2002-05-29 Thread Taniel Silva Franklin
I should like to participate of the manual Pt_BR translation. I want have acess the PHP-doc, PHP_pt_BR, and other directories necessary for to do translation. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Client socket

2002-05-29 Thread J Smith
Since apache is multi-processed rather than multi-threaded, I'd imagine that you're getting the same socket file descriptor since each new connection means a new fork of httpd, resulting in three file descriptors by the time you get to what you're doing. Are you trying to get ahold of the soc

Re: [PHP-DEV] SOAP, XMLRPC and WSDL

2002-05-29 Thread ahristov
As phpsuft said Brad Lafountain is working on the php_soap module. I'm writing my bachelor thesis on its basis and I can say that it is quite stable for alpha(Brad says it is alpha). I have not tested interoperability with other SOAP enoviroments but PHP to PHP is working very well. I had problem

[PHP-DEV] Client socket

2002-05-29 Thread Vinod Panicker
Hi, Continuing with the problem that I've been having... I made changes to the php_apache.c file and added a new php function of my own, which is supposed to return the client socket when called from a php script. Here is the code for the function - --- /* {{{ proto int apache_cl

Re: [PHP-DEV] PHP web farms (i.e. why msession or something like it)

2002-05-29 Thread mlwmohawk
> [EMAIL PROTECTED] wrote: > >>> At 10:20 25/05/2002 -0400, [EMAIL PROTECTED] wrote: >>> >Marginalizing this capability IMHO is not the right direction, I >>> >think there should, in fact, be a stronger push for this sort of >>> >capability to be built in by default. >> >> Agree with that

Re: [PHP-DEV] PHP linux binary and Super global variables

2002-05-29 Thread Alessandro Astarita
Stig S. Bakken wrote: > Are you sure that it is in fact the CGI binary you are using? The CLI > version of PHP will not register these variables. I have php 4.2.1 binary installed as CLI and $_SERVER is registered. [asterix@apenguin asterix]$ php -v 4.2.1 [asterix@apenguin asterix]$ php -r 'va

Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to bepassed by reference]

2002-05-29 Thread Stig S. Bakken
If this patch doesn't break anything, and it doesn't give us any difficulties with ZE2 or major design issues, I'm +1. - Stig On Tue, 2002-05-28 at 21:12, Jason T. Greene wrote: > Due to this patch being sent during the msession discussion, it has not > been noticed, so I am resending. > > >

[PHP-DEV] CVS Account Request: archiweb

2002-05-29 Thread archiweb
help -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php