[PHP-DEV] Re: UTF8 support for PCRE missing from win32

2002-09-05 Thread Zeev Suraski
You feel we can make such a change without another RC? Since we're the ones building the Win32 package, I don't worry at all about build problems, but is there any chance at all that it may break something in runtime? Zeev At 02:57 05/09/2002, Wez Furlong wrote: I've just discovered (the

RE: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Zeev Suraski
Not sure why nobody stepped in and said it, but the Engine2 is quite alive and kicking. You just have to work a bit in order to get a fairly recent version. Not so recent version: http://www.php.net/distributions/php-4.3.0-dev-zend2-alpha2.tar.gz

RE: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Rasmus Lerdorf
Or just checkout php4-ze2 instead and you will get everything in one go named correctly. On Thu, 5 Sep 2002, Zeev Suraski wrote: Not sure why nobody stepped in and said it, but the Engine2 is quite alive and kicking. You just have to work a bit in order to get a fairly recent version. Not

[PHP-DEV] Re: UTF8 support for PCRE missing from win32

2002-09-05 Thread Wez Furlong
I think it would be fine, as we have it always enabled for unix and because the pcre code is portable and also because the functionality is only enabled when you add the u modifier to your search pattern. If there are problems at runtime as a result of this, I'll volunteer to deal with them.

[PHP-DEV] Semaphore, Shared Memory and IPC Functions

2002-09-05 Thread Sendron
Hi there good folks! Im developing a webbased admintool on a redhat server. Im in need to use the message queing functions. But having a hardtime finding some info on how this works. My apache and php should be configured proerly to. The phpinfo() tells me that sysvsem is a additional module.

Re: [PHP-DEV] Semaphore, Shared Memory and IPC Functions

2002-09-05 Thread Markus Fischer
From http://www.php.net/manual/en/ref.sem.php: Installation Support for this functions are not enabled by default. To ennable System V semaphore support compile PHP with the option --enable-sysvsem. To enable the System V shared memory support compile PHP with the option

Re: [PHP-DEV] Semaphore, Shared Memory and IPC Functions

2002-09-05 Thread Sendron
Yes, i have set it up like that. And the example code on that page works. Hmm... after a closer look, i think it all ends up with that the msg_ functions is not yet supported by any released php version. Would make sense since the sem_ functions work to... Ok ill have to wait for a newer

RE: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread phpsurf
hi is there any way to have this built for windows ? I'm afraid I have no idea of how to comiple PHP on windows :( that'd be really great ! thx -Original Message- From: Zeev Suraski [mailto:[EMAIL PROTECTED]] Sent: jeudi 5 septembre 2002 10:06 To: Tyson Lloyd Thwaites Cc: [EMAIL

Re: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Markus Fischer
Basically the same way, but using MSVC. Anyway, I'll keep bug^H^H^Hasking Edin maybe he can automate win32/ze2 snapshots too *smiles* :-) - Markus On Thu, Sep 05, 2002 at 11:55:28AM +0200, phpsurf wrote : hi is there any way to have this built for windows ? I'm afraid I

Re: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Edin Kadribasic
Anyway, I'll keep bug^H^H^Hasking Edin maybe he can automate win32/ze2 snapshots too *smiles* :-) Ok, ok you win :) PHP/ZE2 snapshots coming soon. Edin -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP/ZE2 win32 snapshots available

2002-09-05 Thread Edin Kadribasic
Hello all, Windows snapshots of the latest version of PHP featuring ZE2 are available at: http://snaps.php.net/win32/ze2/ or http://ftp.proventum.net/pub/php/win32-snapshots/ze2/ Edin -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] PHP/ZE2 win32 snapshots available

2002-09-05 Thread phpsurf
great ! many thanks Edin -Original Message- From: Edin Kadribasic [mailto:[EMAIL PROTECTED]] Sent: jeudi 5 septembre 2002 14:07 To: [EMAIL PROTECTED] Subject: [PHP-DEV] PHP/ZE2 win32 snapshots available Hello all, Windows snapshots of the latest version of PHP featuring ZE2

Re: [PHP-DEV] http://www.php-con.com/

2002-09-05 Thread Andrey Hristov
I meant gray background . Andrey - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 3:53 PM Subject: [PHP-DEV] http://www.php-con.com/ Hi, can someone change the HTML of http://www.php-con.com/ and add

Re: [PHP-DEV] http://www.php-con.com/

2002-09-05 Thread Xavier Spriet
this is still the wrong list. On Thu, 2002-09-05 at 08:56, Andrey Hristov wrote: I meant gray background . Andrey - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 3:53 PM Subject: [PHP-DEV]

Re: [PHP-DEV] http://www.php-con.com/

2002-09-05 Thread Andrey Hristov
yup... :((( Andrey - Original Message - From: Xavier Spriet [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 3:53 PM Subject: Re: [PHP-DEV] http://www.php-con.com/ this is still the wrong list. On Thu, 2002-09-05 at

Re: [PHP-DEV] Re: UTF8 support for PCRE missing from win32

2002-09-05 Thread Edin Kadribasic
I have commited the changes to the project files you requested. Edin - Original Message - From: Wez Furlong [EMAIL PROTECTED] To: Zeev Suraski [EMAIL PROTECTED] Cc: Wez Furlong [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, September 05, 2002 10:22 AM Subject: [PHP-DEV] Re: UTF8

[PHP-DEV] .SO file and PHP

2002-09-05 Thread Sanjay Chauhan
Hello Friends, I am developing a .so file (shared module ) on linux 7.1 . I got following sample source code from www.php.net. which I saved in Test.cpp file. /* include standard header */ #include php.h /* declaration of functions to be exported */ ZEND_FUNCTION(first_module); /* compiled

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard dl.c dns.c file.c filestat.c flock_compat.c fsock.c fsock.h ftp_fopen_wrapper.c head.c http_fopen_wrapper.c

2002-09-05 Thread Sebastian Bergmann
Anantha Kesari H Y wrote: hyanantha Thu Sep 5 10:21:55 2002 EDT Modified files: /php4/ext/standard dl.c dns.c file.c filestat.c flock_compat.c fsock.c fsock.h ftp_fopen_wrapper.c head.c http_fopen_wrapper.c Log:

[PHP-DEV] file_register_wrapper not binary safe?

2002-09-05 Thread Steve Alberty
hi, i've made some tests with file_register_wrapper and a possible my-own-get-from-variable-instead-of-file-handle wrapper, but i think that the stream_open function handler is not binary safe. Here a small code snip to demonstrate the problem: ?php class variable_stream { var $data;

[PHP-DEV] net-snmp support (open bug 18728)

2002-09-05 Thread Harrie Hazewinkel
HI, I was working on getting PHP with SNMP compiled with the latest NET-SNMP 5.0.4 (was UCD-SNMP). It does not work. I was willing to fix this problem, however, I beleive it could cause backwards compatibility problems if the UCD-SNMP must be kept. the options are (as i recognise), 1) drop

Re: [PHP-DEV] net-snmp support (open bug 18728)

2002-09-05 Thread Rasmus Lerdorf
We have many examples of configure checks that drive #ifdef'ed code to take care of minor differences between versions of a library. Are the changes really so significant that we can't do this cleanly here? -Rasmus On Thu, 5 Sep 2002, Harrie Hazewinkel wrote: HI, I was working on getting

Re: [PHP-DEV] net-snmp support (open bug 18728)

2002-09-05 Thread Harrie Hazewinkel
--On Thursday, September 5, 2002 10:52 AM -0700 Rasmus Lerdorf [EMAIL PROTECTED] wrote: We have many examples of configure checks that drive #ifdef'ed code to take care of minor differences between versions of a library. Are the changes really so significant that we can't do this cleanly

Re: [PHP-DEV] net-snmp support (open bug 18728)

2002-09-05 Thread Rasmus Lerdorf
SNMP apps tend to turn into legacy apps rather quickly. You write it once for some particular device and just sort of forget about it. I don't think breaking BC is a good idea here, so yes, if we can't do v3 by adding optional args to the existing functions, then a new set of v3-specific

Re: [PHP-DEV] net-snmp support (open bug 18728)

2002-09-05 Thread Markus Fischer
Haven't used SNMP that heavily in the past, but I think we don't need another mess if the API tends to differ that much for all v3 options. Imho there's nothing wrong with 3) here, aka pecl/snmpv3 (or ext/whatever). On Thu, Sep 05, 2002 at 07:35:55PM +0200, Harrie Hazewinkel

RE: [PHP-DEV] GD broken ? compiler errors !

2002-09-05 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
Jani, I've committed possible fix in CVS. So please try that. Thanks. You may also want to consider fixing another problem with configure ... it doesnt support --with-zlib-dir option thus requiring a variable PHP_ZLIB_DIR to be exported prior to running confgiure. W/o that configure fails

[PHP-DEV] GD version available in script ?

2002-09-05 Thread Pierre-Alain Joye
Hello, Working on PEAR::Image_Transform, I realize there is no way to check the currently used gd version. Beside that, gd2 functions are always available (raise warning if wrong gd version), this forces us to make a first call the function and call it again : if(ImageCreateTrueColor()){

[PHP-DEV] GD version available in script ?

2002-09-05 Thread Pierre-Alain Joye
Hello, Working on PEAR::Image_Transform, I realize there is no way to check the currently used gd version. Beside that, gd2 functions are always available (raise warning if wrong gd version), this forces us to make a first call the function and call it again : -- PHP Development Mailing List

[PHP-DEV] Windows builds and ftp.c

2002-09-05 Thread Dan Kalowsky
Warnings in the Windows FTP builds, which may be of concern (or may not be): ftp.c(650) : warning C4018 : '!=' signed/unsigned mismatch ftp.c(1565) : warning C4018 : '!=' signed/unsigned mismatch --- Dan KalowskyA

RE: [PHP-DEV] GD broken ? compiler errors !

2002-09-05 Thread Jani Taskinen
On Thu, 5 Sep 2002, NAIK,ROSHAN (HP-Cupertino,ex1) wrote: Hi Jani, But ofcourse that isnt that last one is it ? :) CFLAGS that are assigned in confg_vars.mk dont see to get picked up during the actual make. Huh? What exactly doesn't work? Please be more specific.. --Jani

RE: [PHP-DEV] Windows builds and ftp.c

2002-09-05 Thread Joseph Tate
I believe that the consensus with warnings on the windows builds is that we don't care. We're not going to cast where it isn't necessary. So you might want to revert your last patch. Joseph -Original Message- From: Dan Kalowsky [mailto:[EMAIL PROTECTED]] Sent: Thursday, September

RE: [PHP-DEV] Windows builds and ftp.c

2002-09-05 Thread Dan Kalowsky
Is that the general consensus still? It seems rather odd to support it, but not care about it. I don't see that patch doing anything evil though in any case. On Thu, 5 Sep 2002, Joseph Tate wrote: I believe that the consensus with warnings on the windows builds is that we don't care. We're

RE: [PHP-DEV] GD broken ? compiler errors !

2002-09-05 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
CFLAGS is assigned -g -O2 in config_vars.mk But when performing make on the gd extension, the gcc build commands displayed on screen do not contain the options that are part of CFLAGS. --Roshan -Original Message- From: Jani Taskinen [mailto:[EMAIL PROTECTED]] Sent: Thursday,

[PHP-DEV] largest value of the 2nd parameter in fgets function

2002-09-05 Thread Terence Lee
hello i've tried to read a line from a text file by fgets($fp,8192). it work fine. however, there is a line over 8192 char and i tried to increase the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are read to my string variables. is it a limit of fgets or length of a string? any

[PHP-DEV] problem in starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee
Hello i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i try to start the apache but encounter the following error msg The procedure entry point _ecalloc could not be located in the dynamic link library php4ts.dll Unable to load dynamic library

Re: [PHP-DEV] largest value of the 2nd parameter in fgets function

2002-09-05 Thread Alan Knowles
Please use the php-general for questions like this. - see http://www.php.net/fread Regards Alan Terence Lee wrote: hello i've tried to read a line from a text file by fgets($fp,8192). it work fine. however, there is a line over 8192 char and i tried to increase the 2nd parameter (e.g. 8193,

[PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Tyson Lloyd Thwaites
Hi guys, thanks for your help, I was able to get a Z2 build up and running. Unfortunately it didn't appear to be quite stable enough for what I'm doing yet, but at least it is cmoing along nicely! One question while I'm here: I'm interested in persistant global objects, like ASP's Application

RE: [PHP-DEV] GD broken ? compiler errors !

2002-09-05 Thread Wez Furlong
Hi Jani, Just a heads up - I now need to ./configure ... --with-gd --with-zlib --with-zlib-dir ... whereas before these last few gd config patches I only needed ./configure ... --with-gd --with-zlib ... to get zlib linked with gd/php correctly. If this is the intended behaviour I'll

Re: [PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV] ZendEngine2availability

2002-09-05 Thread Alan Knowles
Sounds like a job for srm... http://www.vl-srm.net/ Obviously other options include SOAP servers.. etc. or just using shm and storing a serialized object in there. or use a ramdisk. Something like this is difficult since php normally is not run threaded (eg. apache/cgi...) at the moment,

Re: [PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV] ZendEngine2availability

2002-09-05 Thread Rasmus Lerdorf
You could just stick it in shared memory. Obviously given the standard multi-process Apache architecture application objects ASP-style cannot be implemented the same way. -Rasmus On Fri, 6 Sep 2002, Tyson Lloyd Thwaites wrote: Hi guys, thanks for your help, I was able to get a Z2 build up

RE: [PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV] ZendEngine2 availability

2002-09-05 Thread Tyson Lloyd Thwaites
Something like that would be great. Do you mean store the *PHP object in smh, after serialization, or do it on the Zend side from within an extension? I guess what I am after is the ability to cache certain data objects so that they can be retrieved with maximum speed, because there will be

Re: [PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV] ZendEngine2availability

2002-09-05 Thread Alan Knowles
I forgot msession extension. http://www.mohawksoft.com/phoenix/msession.html the rpc extension may also be of interest - (not know the code that well, I'm guessing it may be able to provide a more efficient object serialization), although I doubt that the current string method is really that

Re: [PHP-DEV] Persistant global objects: WAS: RE: [PHP-DEV]

2002-09-05 Thread Tyson Lloyd Thwaites
I actually had a look at msession, and for a while I thought that was the answer, but msession sends all its data through sockets...bye bye speed. I made an Application object that used either msession or files as storage, and files proved faster by about 2 times. But I want just RAM