Re: [PHP-DEV] 5.1.0 PDO fails to make

2005-09-11 Thread Wez Furlong
What version of the mysql libraries do you have? --Wez. On 9/11/05, Kevin Waterson <[EMAIL PROTECTED]> wrote: > FC1 and FC4 > Using php5-200509110430 > gcc-3.3.2 > > /home/kevin/html/php/dev/this/php5-200509110430/ext/pdo_mysql/mysql_statement.c: > In function `pdo_mysql_stmt_execute': > /home/

Re: [PHP-DEV] 5.1.0 PDO fails to make

2005-09-11 Thread Kevin Waterson
This one time, at band camp, Wez Furlong <[EMAIL PROTECTED]> wrote: > What version of the mysql libraries do you have? MySQL 5.0.0-dev Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- PHP Internals - PHP Runt

Re: [PHP-DEV] 5.1.0 PDO fails to make

2005-09-11 Thread Wez Furlong
PDO_MYSQL only supports up to version 4 (the stable releases). I've had a long day, so I don't feel particularly motivated to add mysql 5 support, and probably won't for PHP 5.1. --Wez. On 9/11/05, Kevin Waterson <[EMAIL PROTECTED]> wrote: > This one time, at band camp, Wez Furlong <[EMAIL PROTE

Re: [PHP-DEV] 5.1.0 PDO fails to make

2005-09-11 Thread Kevin Waterson
This one time, at band camp, Wez Furlong <[EMAIL PROTECTED]> wrote: > PDO_MYSQL only supports up to version 4 (the stable releases). > I've had a long day, so I don't feel particularly motivated to add > mysql 5 support, and probably won't for PHP 5.1. sounds good to me Kevin -- "Democracy is

[PHP-DEV] Version number x.y.z for package.xml/package.xml

2005-09-11 Thread Pierre Joye
Hello, Please us only 3 digits versions number, x.y.z. version_compare will miserably fail to compare 1.0 and 1.0.0, for example. Except lazyness, there should be no reason to follow this little rule, thanks :-) Regards, --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsu

[PHP-DEV] Re: Version number x.y.z for package.xml/package.xml

2005-09-11 Thread Pierre-Alain Joye
On Sun, 11 Sep 2005 11:59:03 +0200 [EMAIL PROTECTED] (Pierre Joye) wrote: > Except lazyness, there should be no reason to follow this little > rule, thanks :-) to not follow :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] "make install" on PHP_5_1 does not work with PEAR

2005-09-11 Thread Pierre Joye
On 9/11/05, Wez Furlong <[EMAIL PROTECTED]> wrote: > It looks like the handling is broken. > Try this: > > $ cd php-src/ext/pdo_odbc > $ pear package > $ sudo pear install PDO_ODBC-1.0RC1.tgz > > It doesn't prompt for the configure options anymore. I just commited a fix, if you have some spare

[PHP-DEV] pdo_sqlite error 5.1

2005-09-11 Thread Kevin Waterson
PHP Fatal error: Class PDOStatement must implement interface Traversable as part of either Iterator or IteratorAggregate i n Unknown on line 0 make: [test] Error 254 (ignored) exit 0; /home/kevin/html/php/dev/this/php5-200509110430/ext/sqlite/libsqlite/src/parse.y Installing PHP SAPI module:

Re: [PHP-DEV] Re: Version number x.y.z for package.xml/package.xml

2005-09-11 Thread Wez Furlong
Anyone releasing 1.0 and 1.0.0 for the same package needs their head checked anyway. :) --Wez. On 9/11/05, Pierre-Alain Joye <[EMAIL PROTECTED]> wrote: > On Sun, 11 Sep 2005 11:59:03 +0200 > [EMAIL PROTECTED] (Pierre Joye) wrote: > > > > Except lazyness, there should be no reason to follow this

Re: [PHP-DEV] pdo_sqlite error 5.1

2005-09-11 Thread Wez Furlong
Looks like implementing traversable also requires implementing some other interfaces. I've removed this line from the code in CVS, so that people can actually use the snapshots; they're currently all hard-broken with this error when a class implements traversable. If there's any other code doing t

[PHP-DEV] Zend resources

2005-09-11 Thread RG
I've created a new module, which is an improvement to the socket library. I however do not plan on re-writing every single function. So I need to find a way to somehow access the socket library's resources. My question is, is there a way to access another module's resource? -- PHP Internals - PHP

Re: [PHP-DEV] Zend resources

2005-09-11 Thread Wez Furlong
The module whose resources you are accessing needs to export a function that will give you the list id, and also publish their structure layout in a header file. Just out of interest, what functions are in your extension? --Wez. On 9/11/05, RG <[EMAIL PROTECTED]> wrote: > I've created a new mod

Re: [PHP-DEV] Zend resources

2005-09-11 Thread RG
"Wez Furlong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] The module whose resources you are accessing needs to export a function that will give you the list id, and also publish their structure layout in a header file. Just out of interest, what functions are in your extension?

[PHP-DEV] 5.0.5, BC break, fatal error

2005-09-11 Thread Pierre Joye
Hello, Without arguing again about the """fix""" for the memory corruption discovered earlier this summer and without anyone able to reproduce with a medium size script, _why_ in the world one applies this fix to the 5.0 branche? 5.0.5 was supposed to be a _security_ fix release only. I do know m

Re: [PHP-DEV] Zend resources

2005-09-11 Thread Wez Furlong
On 9/11/05, RG <[EMAIL PROTECTED]> wrote: > Well, I've improved the socket_accept and socket_connect functions and I've > name them socketi_*. socketi_accept returns the IP as well as the port > number, and socket_connect has a timeout function. Have you seen stream_socket_server(), stream_socket_

Re: [PHP-DEV] Zend resources

2005-09-11 Thread RG
Yeah I have seen those functions, but they are quite bloated in my opnion. Is there any way of getting the resource id without modifying sockets? "Wez Furlong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 9/11/05, RG <[EMAIL PROTECTED]> wrote: > Well, I've improved the socket_acce

Re: [PHP-DEV] pdo_sqlite error 5.1

2005-09-11 Thread Kevin Waterson
This one time, at band camp, Wez Furlong <[EMAIL PROTECTED]> wrote: > Looks like implementing traversable also requires implementing some > other interfaces. > I've removed this line from the code in CVS, so that people can > actually use the snapshots; they're currently all hard-broken with > thi

Re: [PHP-DEV] Zend resources

2005-09-11 Thread Wez Furlong
On 9/11/05, RG <[EMAIL PROTECTED]> wrote: > Yeah I have seen those functions, but they are quite bloated in my opnion. Maybe so, but at least they work :) > Is there any way of getting the resource id without modifying sockets? Nope. --Wez. > "Wez Furlong" <[EMAIL PROTECTED]> wrote in message

Re: [PHP-DEV] pdo_sqlite error 5.1

2005-09-11 Thread Wez Furlong
It's something for Marcus to look at, as he added that line. --Wez. On 9/11/05, Kevin Waterson <[EMAIL PROTECTED]> wrote: > This one time, at band camp, Wez Furlong <[EMAIL PROTECTED]> wrote: > > > Looks like implementing traversable also requires implementing some > > other interfaces. > > I've

Re: [PHP-DEV] Zend resources

2005-09-11 Thread Sara Golemon
Is there any way of getting the resource id without modifying sockets? ZEND_API int zend_fetch_list_dtor_id(char *type_name); As an implementation: In *your* socketi.c: static int le_socket = -1; PHP_RINIT(socketi) { if (le_socket == -1) { le_socket = zend_fetch_list_dtor_id("Sock

Re: [PHP-DEV] Zend resources

2005-09-11 Thread Sara Golemon
static int le_socket = -1; Scratch that, those instances of -1 should have been 0 (Which is what zend_fetch_list_dtor_id() returns as failure) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: shankar1nag

2005-09-11 Thread Shankar Nag
For PHP Extensions -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] 5.0.6-dev build failure

2005-09-11 Thread Kamesh Jayachandran
Hi All, Got the root cause of the issue. $stat parse.y parse.c File: `parse.y' Size: 32554 Blocks: 64 IO Block: 4096 regular file Device: 302h/770d Inode: 740467 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1003/phpbuild) Gid: ( 100/ users) Access: 2005-09-12 1