[PHP-DEV] Re: corrupt CG(auto_globals) in zend_is_auto_global()

2006-04-30 Thread Marshall Greenblatt
On 4/30/06, Marshall Greenblatt <[EMAIL PROTECTED]> wrote: Hi All, I'm currently in the process of building an SAPI client and I'm experiencing a crash using PHP 5.1.2 with both the current release sources and with the newest snapshot (php5.1-200604301630) on the Win32 platform. The crash happ

Re: [PHP-DEV] Re: Fw: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
The whole point of PECL is that its lifetime is completely independent of PHP. Right. Now will you please go back to the questions I originally asked? | At present there are some PDO drivers relying on PECL source, and others | relying on their php-src/ext directories. All that does is mess up

Re: [PHP-DEV] Re: Fw: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Wez Furlong
On 4/30/06, Steph Fox <[EMAIL PROTECTED]> wrote: > Can you distill the problem to one paragraph or less? I'm having a > hard time figuring out what you're getting at. OK, I'll work on it. Initial/primary argument here: under Windows, to load one extension that I would have had as an integral pa

Re: [PHP-DEV] Re: Fw: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
Can you distill the problem to one paragraph or less? I'm having a hard time figuring out what you're getting at. OK, I'll work on it. Initial/primary argument here: under Windows, to load one extension that I would have had as an integral part of 5.0.*, I now need to install two extensions v

[PHP-DEV] Re: Fw: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Wez Furlong
Can you distill the problem to one paragraph or less? I'm having a hard time figuring out what you're getting at. I don't see a problem with the current status of the PHP win32 build that can't be resolved by loading the extensions that you want to use in php.ini. --Wez. On 4/30/06, Steph Fox <

[PHP-DEV] corrupt CG(auto_globals) in zend_is_auto_global()

2006-04-30 Thread Marshall Greenblatt
Hi All, I'm currently in the process of building an SAPI client and I'm experiencing a crash using PHP 5.1.2 with both the current release sources and with the newest snapshot (php5.1-200604301630) on the Win32 platform. The crash happens consistently with both the release and debug TS builds of

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-30 Thread Sharad Gupta
Ok, when I compile a "release" version .. I dont get "no input file specified" error when opening php scripts in browser .. But when I compile "debug" version, I get that error ... can any one shed some light on this behaviour .. is it intended behaviour and what can I do to rectify it ? Thanks

Re: [PHP-DEV] resources vs objects?

2006-04-30 Thread Brandon Fosdick
Wez Furlong wrote: Resources are the traditional approach for mapping an arbitrary pointer to PHP space, managing its lifetime safely. PHP 5 OO support allows for similar things, but maps the pointer as a PHP object. They're similar in some ways, but different in others. The biggest functional

[PHP-DEV] Fw: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
Wez, I know you're busy, but this isn't some beginner trying to figure out how to use their php.ini, y'know? At present there are some PDO drivers relying on PECL source, and others relying on their php-src/ext directories. All that does is mess up builds where PHP and PECL are out of sync. It

[PHP-DEV] Re: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
On 4/30/06, Steph Fox <[EMAIL PROTECTED]> wrote: The attached patch makes it possible to build either php_sqlite.dll without the PDO dependency, or php_pdo_sqlite2.dll with the PDO dependency. That means that you end up with php_pdo_sqlite2.dll only in the official snapshot builds. Yes - bec

Re: [PHP-DEV] resources vs objects?

2006-04-30 Thread Wez Furlong
Resources are the traditional approach for mapping an arbitrary pointer to PHP space, managing its lifetime safely. PHP 5 OO support allows for similar things, but maps the pointer as a PHP object. They're similar in some ways, but different in others. The biggest functional difference (aside f

[PHP-DEV] Re: [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Wez Furlong
On 4/30/06, Steph Fox <[EMAIL PROTECTED]> wrote: The attached patch makes it possible to build either php_sqlite.dll without the PDO dependency, or php_pdo_sqlite2.dll with the PDO dependency. That means that you end up with php_pdo_sqlite2.dll only in the official snapshot builds. I'm hoping

Fw: [PHP-DEV] [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
erm, that should've read if (PHP_SQLITE == "yes") { - Steph Hi Wez, The attached patch makes it possible to build either php_sqlite.dll without the PDO dependency, or php_pdo_sqlite2.dll with the PDO dependency. If ext/sqlite is built as static it 'just works' (forcing a shared build only

[PHP-DEV] [PATCH] win32, PDO and the SQLite build

2006-04-30 Thread Steph Fox
Hi Wez, The attached patch makes it possible to build either php_sqlite.dll without the PDO dependency, or php_pdo_sqlite2.dll with the PDO dependency. If ext/sqlite is built as static it 'just works' (forcing a shared build only if PDO is enabled as shared) but with the same distinctions, i.e