[PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
Hi All, I'm just new to php embed application but I'm at good point after some work/fighting with the engine API. My intention is to run different php scripts in a multithreaded application at the same time. Furthermore I don't need to make some php intercomunications and/or parallel script exe

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Jan Schneider
Zitat von Ilia Alshanetsky <[EMAIL PROTECTED]>: The 2nd release candidate for PHP 5.2.1 is now available for download. The tarballs can be found here: The ming extension doesn't compile at the moment: /home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function 'getFontOrFontChar': /home/j

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 10.25 05/01/2007, you wrote: >Hi All, > >I'm just new to php embed application but I'm at good point >after some work/fighting with the engine API. My intention is >to run different php scripts in a multithreaded application at the >same time. Furthermore I don't need to make some php >inter

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Nuno Lopes
Yes, the ming extension doesn't compile with older libmings on php 5.2 and 6. I have already warned the extension maintainer a month ago or so (at least bump the minimum required libming version). Nuno - Original Message - From: "Jan Schneider" <[EMAIL PROTECTED]> To: Sent: Friday,

[PHP-DEV] PHP 4.4.5RC1

2007-01-05 Thread Derick Rethans
Hello! I packed PHP 4.4.5RC1 today, which you can find here: http://downloads.php.net/derick/php-4.4.5RC1.tar.bz2 ee9238175c6b6ecec8712954065451c4 http://downloads.php.net/derick/php-4.4.5RC1.tar.gz 5337c72e3d70fb88b932215957e250f8 Windows binaries will follow suit. Please test it carefully, a

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Johannes Schlüter
Hi Roberto, On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: > Now my problem is how to find declared functions in a context. Which hash > table > I have to use? Just take a look at the structure behind the executor_globals EG struct: http://lxr.php.net/source/ZendEngine2/zend_globals.h

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 12.18 05/01/2007, Johannes Schlüter wrote: >Hi Roberto, > >On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: >> Now my problem is how to find declared functions in a context. Which >hash table >> I have to use? > >Just take a look at the structure behind the executor_globals EG struct:

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 12.33 05/01/2007, Roberto Fichera wrote: >At 12.18 05/01/2007, Johannes Schlüter wrote: > >>Hi Roberto, >> >>On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: >>> Now my problem is how to find declared functions in a context. Which >>hash table >>> I have to use? >> >>Just take a look a

Re: [PHP-DEV] PHP 4.4.5RC1

2007-01-05 Thread Edin Kadribasic
Hi, Windows distribution is available at: http://downloads.php.net/edink/php-4.4.5RC1-Win32.zip Edin Derick Rethans wrote: Hello! I packed PHP 4.4.5RC1 today, which you can find here: http://downloads.php.net/derick/php-4.4.5RC1.tar.bz2 ee9238175c6b6ecec8712954065451c4 http://downloads.php

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Firman Wandayandi
On 1/5/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote: The windows build can be downloaded from: http://downloads.php.net/edink/php-5.2.1RC2-Win32.zip (aaabe7eda5cef1be6f9c51c621fbbfd3) http://downloads.php.net/edink/pecl-5.2.1RC2-Win32.zip (6f97b2365bfa56874801fa5053d387e0) http://downloads.php.

Re: [PHP-DEV] The new printf implementation

2007-01-05 Thread Matt Wilmas
Hi Andrei, I have no idea. :-) It doesn't really affect me personally that I can think of, so whatever you guys decide. I don't feel strongly either way... I just wanted to bring up the internal changes originally after the locale stuff created the bug with number_format() (maybe a couple other

[PHP-DEV] Re: PHP 4.4.5RC1

2007-01-05 Thread Christian Schneider
Derick Rethans wrote: > I packed PHP 4.4.5RC1 today, which you can find here: > > http://downloads.php.net/derick/php-4.4.5RC1.tar.bz2 > ee9238175c6b6ecec8712954065451c4 Just a quick question: Running make test reports some tests to fail, is this expected or should this be looked at? FAILED TEST

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Ilia Alshanetsky
Did you update those extensions with the binaries found in the 5.2.1RC2 zip file? Ilia Alshanetsky -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] FastCGI optmized Windows build of 5.2.1RC2

2007-01-05 Thread Edin Kadribasic
Hello, I have made a second build of 5.2.1RC2 for Windows with no thread safety enabled. This will only work for non threaded SAPIs such as CGI/FastCGI and CLI. The reason for this is that managing per thread state takes some CPU time from the main task of running PHP scripts making non threa

[PHP-DEV] RE: [PHP] FastCGI optmized Windows build of 5.2.1RC2

2007-01-05 Thread Vincent DUPONT
hello, thanks for this good news for Win poeple. Do you have any info on what version(s) of IIS/win32 this release soul be used? thank you Vincent Dupont Ausy Belgium -Original Message- From: Edin Kadribasic [mailto:[EMAIL PROTECTED] Sent: Fri 1/5/2007 14:27 To: PHP internals; php-

[PHP-DEV] Re: [PHP] FastCGI optmized Windows build of 5.2.1RC2

2007-01-05 Thread Edin Kadribasic
Well you can already use PHP/fastcgi with Apache and IIS6 on windows using 3rd party fastcgi modules for these servers. What IIS7 (http://www.iis.net/) brings is native fastcgi implementation. Edin Vincent DUPONT wrote: hello, thanks for this good news for Win poeple. Do you have any info

[PHP-DEV] Re: [PHP] FastCGI optmized Windows build of 5.2.1RC2

2007-01-05 Thread Edin Kadribasic
Well to correct myself, Microsoft has released their FastCGI module for earlier versions of IIS as well. Take a look at http://www.iis.net/default.aspx?tabid=2&subtabid=25&i=1207 Edin Edin Kadribasic wrote: Well you can already use PHP/fastcgi with Apache and IIS6 on windows using 3rd party f

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Firman Wandayandi
On 1/5/07, Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: Did you update those extensions with the binaries found in the 5.2.1RC2 zip file? Yep, whole of the thing (PHP and PECL). Did a clean setup here. -- Firman Wandayandi -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] Re: PHP 4.4.5RC1

2007-01-05 Thread Pierre
Hello, On 1/5/07, Christian Schneider <[EMAIL PROTECTED]> wrote: Bug #24155 (gdImageRotate270 rotation problem). [ext/gd/tests/bug24155.phpt] Maybe only fixed in PHP5 and above? Bug #27582 (ImageFillToBorder() on alphablending image looses alpha on fill color) [ext/gd/tests/bug27582_1.phpt]

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 13.05 05/01/2007, Roberto Fichera wrote: >At 12.33 05/01/2007, Roberto Fichera wrote: >>At 12.18 05/01/2007, Johannes Schlüter wrote: >> >>>Hi Roberto, >>> >>>On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote: Now my problem is how to find declared functions in a context. Which >>>h

Re: [PHP-DEV] [PATCH] New functions: array_key_index(), array_first(), array_last()

2007-01-05 Thread Andrei Zmievski
These functions seem to replace only a couple lines of code at best, especially array_first() and array_last(). I don't think the cost of keeping up the code/docs for the new functions warrants their inclusion. -Andrei On Jan 4, 2007, at 9:49 PM, John Bafford wrote: Hello, Attached is a pa

Re: [PHP-DEV] The new printf implementation

2007-01-05 Thread Andrei Zmievski
Yes, POSIX locales should not be used either in internal or userland printf() unless we're using en_US locale. -Andrei On Jan 5, 2007, at 6:15 AM, Matt Wilmas wrote: Hi Andrei, I have no idea. :-) It doesn't really affect me personally that I can think of, so whatever you guys decide. I d

Re: [PHP-DEV] PHP 5.2.1RC2 Released

2007-01-05 Thread Lukas Kahwe Smith
Hi, while on the train I tried to strat up 5.2.0RC2 on windows and ended up with Apache complaining about the pdo, pdo_mysql, pdo_sqlite and sqlite extensions during the load process. I will try to investigate further tomorrow. regards, Lukas -- PHP Internals - PHP Runtime Development Mailin

RE: [PHP-DEV] FastCGI optmized Windows build of 5.2.1RC2

2007-01-05 Thread Andi Gutmans
Edin, Thanks for taking care of this! Andi > -Original Message- > From: Edin Kadribasic [mailto:[EMAIL PROTECTED] > Sent: Friday, January 05, 2007 5:28 AM > To: PHP internals; php-general@lists.php.net > Subject: [PHP-DEV] FastCGI optmized Windows build of 5.2.1RC2 > > Hello, > > I h

[PHP-DEV] Windows build

2007-01-05 Thread Edin Kadribasic
Hey, It seems that VC++ 8.0 (Visual Studio 2005) brings more trouble that its worth. Mainly the way it deals with the C runtime. After spending hours and hours of trying to figure out the way to make PHP work under Apache on Windows and be able to load extensions, I'm throwing in the towel. I can

Re: [PHP-DEV] Windows build

2007-01-05 Thread Firman Wandayandi
Hi, On 1/6/07, Edin Kadribasic <[EMAIL PROTECTED]> wrote: It seems that VC++ 8.0 (Visual Studio 2005) brings more trouble that its worth. Mainly the way it deals with the C runtime. After spending hours and hours of trying to figure out the way to make PHP work under Apache on Windows and be abl

Re: [PHP-DEV] Windows build

2007-01-05 Thread Ilia Alshanetsky
Edin, Thanks for the detailed analysis and spending time analyzing the issue. Based on what you've said I think our best option is to go back to VC++ 6.0 for this release, we are too far along in the release cycle to experiment with things. Perhaps for the next release we can revisit the

Re: [PHP-DEV] Windows build

2007-01-05 Thread William A. Rowe, Jr.
This sounds like a sane approach. My own 2c is that your failure to load represents a failure to correctly package the .manifest data of the individual modules; perhaps this is due to the individual modules requiring an entry for php5ts.dll? Without digging deeper, it is probably most sane to shi

Re: [PHP-DEV] Windows build

2007-01-05 Thread William A. Rowe, Jr.
Edin Kadribasic wrote: > > I can get PHP to work fine on the command line, both cgi and cli. It > also works fine under IIS using fastcgi. But loading sapi dll into a > webserver (not using php.exe or php-cgi.exe) works for the sapi itself, > but trying to load any extensions via php.ini fails mis