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

2002-05-31 Thread Edin Kadribasic
> Now on Windows or similar systems, where the average user is not used to > system administration (witness the number of codered attacks still going > around), we can pack all these dependant binary libraries into the > installer. I'm not sure who builds the installer, but I know I could make >

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Zeev Suraski
Did you conduct a survey about that? I believe there's at least one company that effectively proved that the opposite is true, there are probably many others. I don't see a problem in having core technologies enabled by default. Purists can turn them off, but there are a hell of a lot more a

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Zeev Suraski
Guys, Unless somebody strongly objects, I suggest we drop the discussion about how horrible it would be to import libxml2 into our CVS. I believe it's well established that it's a Bad Thing to do, there's no point hashing it. I believe the question on the table is whether libxml2 is important

[PHP-DEV] [PATCH] main/streams.c - Fix problem in gets emulation

2002-05-31 Thread Markus Fischer
Another patch, from http://bugs.php.net/17547 (it got wrapped as usual in the report). The gets() emulation in _php_stream_gets() didn't really work. - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc Wishlist: http://guru.josefine.at/~mfischer/wishlist Ind

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Shane Caraveo
[EMAIL PROTECTED] wrote: > On Sat, 1 Jun 2002, Yasuo Ohgaki wrote: > > [...] > > >>I wish it became a default module, too. > > > Sure, lets enable everything by default then. ODBC is very important too, > and of course also encryption, so we need mcrypt and mhash, or the very > important FT

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread derick
On Sat, 1 Jun 2002, Yasuo Ohgaki wrote: [...] > I wish it became a default module, too. Sure, lets enable everything by default then. ODBC is very important too, and of course also encryption, so we need mcrypt and mhash, or the very important FTP and PGSQL extensions. No seriously, I don't

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Christian Stocker
Hi again > Why do you feel that bundling is such a burdon and how does it requires > more testing. If libxml release a new release and it is decited to > upgrade then simply upgrade. I don't understand why you think its such a > burdon. It looks like they are releasing a version once a month. I d

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Rasmus Lerdorf
> And talk about objective points? Your points don't seem more objective than > mine. Would you localize the symbols in it? What happens if someone loads up another DSO into Apache that also uses libxml? We currently have that headache with expat where someone who uses Apache + PHP + mod_perl h

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread brad lafountain
First off trimming down means. removing documentation. removing install help. NOT removing any code at all! Why do you feel that bundling is such a burdon and how does it requires more testing. If libxml release a new release and it is decited to upgrade then simply upgrade. I don't understand wh

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

2002-05-31 Thread Rasmus Lerdorf
> On Fri, 31 May 2002, Zeev Suraski wrote: > > > >As Rasmus stated earlier the reason the MySQL stuff is bundled is due to > > >an assurance from the MySQL developers to keep it updated. > > > > I don't think such an assurance existed to begin with, and whether it > > existed or not, it definitely

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Zeev Suraski
At 11:19 PM 5/31/2002, Andi Gutmans wrote: >At 13:12 31/05/2002 -0700, brad lafountain wrote: >>Ok, >> >> I think we are split in two about what to do here. Ill try and list the >>different ideas that have been proposed. >> >>1) don't include at all >> pros: >>No need to worry about auto ins

[PHP-DEV] [PATCH] ext/bz2/bz2.c - fix mem overrun in _php_stream_bz2open in ZTS mode

2002-05-31 Thread Markus Fischer
Hi, There's a problem with path_copy and ZTS mode (which defines VIRTUAL_DIR). It's estrdup()d only in non-ZTS mode but also efree() in ZTS mode which causes problem. The patch fixed that, but me being not that familiar with the things, I better let commit this someone wh

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Zeev Suraski
Just an overall reply to a point you're making - yes, making the user download and build something if he wants to use XML is really a con, in my opinion. Zeev -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-05-31 Thread Dan Kalowsky
On Fri, 31 May 2002, Zeev Suraski wrote: > >As Rasmus stated earlier the reason the MySQL stuff is bundled is due to > >an assurance from the MySQL developers to keep it updated. > > I don't think such an assurance existed to begin with, and whether it > existed or not, it definitely wasn't the c

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Dan Kalowsky
On Sat, 1 Jun 2002, Yasuo Ohgaki wrote: > > I just want to mention one of the more important reasons why I think > > it's a good idea to include it in the tree. It means that PHP itself and > > its extensions can rely on having the C API present and can add XML > > functionality in various places

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Dan Kalowsky
Let's please try to keep the points objective. > 1) don't include at all > pros: >No need to worry about auto install or filesize. > cons: >Forces people to install themselves. Is this really a valid con? This is the standard method of adding functionality to ANY programming language.

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Yasuo Ohgaki
Andi Gutmans wrote: > At 13:12 31/05/2002 -0700, brad lafountain wrote: > >> Ok, >> >> I think we are split in two about what to do here. Ill try and list the >> different ideas that have been proposed. >> >> 1) don't include at all >> pros: >>No need to worry about auto install or filesize

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread Andi Gutmans
At 13:12 31/05/2002 -0700, brad lafountain wrote: >Ok, > > I think we are split in two about what to do here. Ill try and list the >different ideas that have been proposed. > >1) don't include at all > pros: >No need to worry about auto install or filesize. > cons: >Forces people to ins

[PHP-DEV] libxml bundling

2002-05-31 Thread brad lafountain
Ok, I think we are split in two about what to do here. Ill try and list the different ideas that have been proposed. 1) don't include at all pros: No need to worry about auto install or filesize. cons: Forces people to install themselves. 2) trim down libxml and put in cvs pros: Bu

[PHP-DEV] Need Some help writing a module.

2002-05-31 Thread Garland foster
Hi all, I'm writing a PHP module for repat, a C-based RDF parser, very similar to expat, in fact it uses expat but for RDF statements. Maybe some of you with a lot of experience in writing modules can help me with my problem I have a C variable, a pointer with say X and when I pass the pointe

[PHP-DEV] fopen zend wrapper and relative paths

2002-05-31 Thread Daniel BODEA
The bug #11326 was closed after Zeev added the current executing file's directory to the search path, which solved half of the problem. The original bug #9673 though is still open, and the last comment is pointing to the other half of the problem, relative paths. Right now, in main/streams.c/_ph

[PHP-DEV] Still "PHP Streams enabled" in ext/standard/info.c

2002-05-31 Thread Markus Fischer
Hi, is there any reason keeping this as it's not optionally disabled anyway but a substantial part of PHP ? - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc Wishlist: http://guru.josefine.at/~mfischer/wishlist -- PHP Development Mailing List

RE: [PHP-DEV] Compile php_zend2 w32 domxml, the 2nd

2002-05-31 Thread Joseph Tate
I think this would be the correct list, but I doubt that anyone has tried to do what you're trying to do. What I would look at first is the list of linked libraries in the project settings. They're probably set to ZE1 settings, and could stand to be updated. Other than that, the standard tricks

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

2002-05-31 Thread Joseph Tate
Really what we should do is in the configure process, if --with-dom is specified and not found on the system, we could call wget, untar, ./configure make, etc. It's the same right? Oh, then we depend on wget being installed. What is the status quo? If you install perl on a system, it runs out

[PHP-DEV] Compile php_zend2 w32 domxml, the 2nd

2002-05-31 Thread Ilker Cetinkaya
hi again you may haven't noticed yet, but i recently posted a question in here... hi ng ! i just compiled php with zend2 on win32 using vc7 - after few minor pitfalls it did work out very well. now my problem is that i want to enable domxml extension and therefore wanted to compile it with

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / ZendTS.dsp

2002-05-31 Thread Sebastian Bergmann
Andi Gutmans wrote: > andiFri May 31 11:34:38 2002 EDT > > Modified files: > /ZendEngine2ZendTS.dsp > Log: > - Add zend_objects_API.* to dsp Stupid me, I added zend_objects_API.c only to Zend.dsp :) -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c

2002-05-31 Thread Andi Gutmans
Try now. Andi At 16:55 31/05/2002 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > andiFri May 31 10:32:19 2002 EDT > > > > Modified files: > > /ZendEngine2zend_objects.c > > Log: > > - Fix build > > I still get > > ZendTS.lib(zend_objects.obj): error

Re: [PHP-DEV] ext/java & ext/xslt problem

2002-05-31 Thread Christian Stocker
Hi as stated in the bug report, it works with jdk < 1.3, maybe you should give that a try. or switch to the xslt-implementation of ext/domxml... chregu On Thu, 30 May 2002, fincom wrote: > Hi, > There ara some many problems when trying to install both ext/java and > ext/xslt. > > Config : > >

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

2002-05-31 Thread Zeev Suraski
At 11:39 PM 5/30/2002, Dan Kalowsky wrote: >On Thu, 30 May 2002, brad lafountain wrote: > > > I personally will take responsiblity for bundling and upgrading it. > >As Rasmus stated earlier the reason the MySQL stuff is bundled is due to >an assurance from the MySQL developers to keep it updated.

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

2002-05-31 Thread Zeev Suraski
At 07:08 PM 5/30/2002, [EMAIL PROTECTED] wrote: >On Thu, 30 May 2002, brad lafountain wrote: > > > The 2M size has alot of stuff that we wouldn't need. Im sure we can get it > > down to under 500K. > >I still think 500kb is too much for something the most ppl already have >installed. How do you

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

2002-05-31 Thread Zeev Suraski
At 07:16 PM 5/30/2002, Stig S. Bakken wrote: >On Thu, 2002-05-30 at 18:08, [EMAIL PROTECTED] wrote: > > On Thu, 30 May 2002, brad lafountain wrote: > > > > > The 2M size has alot of stuff that we wouldn't need. Im sure we can > get it > > > down to under 500K. > > > > I still think 500kb is too

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_objects.c

2002-05-31 Thread Sebastian Bergmann
Andi Gutmans wrote: > andiFri May 31 10:32:19 2002 EDT > > Modified files: > /ZendEngine2zend_objects.c > Log: > - Fix build I still get ZendTS.lib(zend_objects.obj): error LNK2001: Unresolved external symbol _zend_objects_store_put ZendTS.lib(zend_obj

[PHP-DEV] Compile php_zend2 win32 with domxml

2002-05-31 Thread Ilker Cetinkaya
hi ng ! i just compiled php with zend2 on win32 using vc7 - after few minor pitfalls it did work out very well. now my problem is that i want to enable domxml extension and therefore wanted to compile it with latest libxml2. compile runs well but the linkage is somehow broken. linker gives error

[PHP-DEV] Userland access to syntax tree

2002-05-31 Thread Sebastian Bergmann
Is it possible to implement a means to access the syntax tree for a script from Userland, like ext/tokenizer allows access to the parsed tokens? Would be a neat thing :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you?