[PHP-DEV] Re: internals Digest 9 Jun 2006 23:10:50 -0000 Issue 993

2006-06-10 Thread John Mertic
Actually, there is also an option that allows you to scan a specific directory for ini files as well: --with-config-file-scan-dir=/etc/httpd/extra-ini Does the windows build have the same option available? If not, could something like this be enabled; I'm working on a PHP Installer for Windows

Re: [PHP-DEV] Can you spot the bug?

2006-06-10 Thread Pierre
On 6/10/06, Michael B Allen <[EMAIL PROTECTED]> wrote: Can anyone spot the bug in following code from the tutorial [1]? PHP_FUNCTION(hello_dump) { zval *uservar; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", uservar) == FAILURE) { zend_parse_parameters(ZEND_NUM_AR

[PHP-DEV] Can you spot the bug?

2006-06-10 Thread Michael B Allen
Can anyone spot the bug in following code from the tutorial [1]? PHP_FUNCTION(hello_dump) { zval *uservar; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", uservar) == FAILURE) { RETURN_NULL(); } Mike [1] http://www.zend.com/php/internals/extension-wr

[PHP-DEV] Mod Deinit Not Called if Bad Cmdline Option

2006-06-10 Thread Michael B Allen
If php exits due to a bad commandline option it never calls module deinitialization routines. Is that a bug or a feature? Mike -- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Extension Installer Catch 22

2006-06-10 Thread Michael B Allen
On Sat, 10 Jun 2006 19:18:56 +0200 Stefan Esser <[EMAIL PROTECTED]> wrote: > Hello Michael, > > I'm writing an extension installer. I want to write the installer in > > PHP. This presents a problem if the extension was previously installed and > > is automatically being loaded because it can segfa

Re: [PHP-DEV] Extension Installer Catch 22

2006-06-10 Thread Stefan Esser
Hello Michael, > I'm writing an extension installer. I want to write the installer in > PHP. This presents a problem if the extension was previously installed and > is automatically being loaded because it can segfault after overwriting > the .so module file. > IIRC, the correct way to replace

[PHP-DEV] Extension Installer Catch 22

2006-06-10 Thread Michael B Allen
I'm writing an extension installer. I want to write the installer in PHP. This presents a problem if the extension was previously installed and is automatically being loaded because it can segfault after overwriting the .so module file. Can someone recommend a method to avoid this? I can think of

Re: [PHP-DEV] [RFC][PATCH]: hook for compile_string

2006-06-10 Thread Derick Rethans
On Sat, 10 Jun 2006, Marcus Boerger wrote: > i for one appreciate this. Yeah, would be nice... Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC][PATCH]: hook for compile_string

2006-06-10 Thread Marcus Boerger
Hello Stefan, i for one appreciate this. best regards marcus Saturday, June 10, 2006, 2:55:24 PM, you wrote: > diff -Nura php-5.2/Zend/zend.c php-5.2-cshook/Zend/zend.c > --- php-5.2/Zend/zend.c 2006-06-05 16:30:49.0 +0200 > +++ php-5.2-cshook/Zend/zend.c 2006-06-10 14:51:08.000

[PHP-DEV] [RFC][PATCH]: hook for compile_string

2006-06-10 Thread Stefan Esser
Hello, I just wanted to hear your opinion about providing a hook for compile_string. We already have a hook called zend_compile_file and it would be very nice if we could also hook compile_string calls. Greetings, Stefan diff -Nura php-5.2/Zend/zend.c php-5.2-cshook/Zend/zend.c --- php-5.2/Zend/z

Re: [PHP-DEV] Re: Extension Installation

2006-06-10 Thread Marco
I think all modern distros use this option (afair fedora, debian and ubuntu do at least). RHEL 4 / Centos and Freebsd also use this option. Regards Mark

[PHP-DEV] PHPIZE Bug

2006-06-10 Thread Stefan Esser
Good morning, i think there is a problem in phpize that I just run into in phpize.in we have ... prefix="@prefix@" ... phpize_replace_prefix() { sed \ -e *"[EMAIL PROTECTED]@#$prefix#"* \ < *"$phpdir/phpize.m4"* > configure.*in* } This is in my opinion wrong, because @prefix@ and $prefix

Re: [PHP-DEV] SPL docs

2006-06-10 Thread Marcus Boerger
Hello Steph, Saturday, June 10, 2006, 12:58:30 PM, you wrote: > Hi Marcus >> that's nothing more than our manual besides a different layout. I'd >> like to document how studd is being integrated, how stuff works together >> and how inheritance trees look like. You saw the gtk tree, wow, cool if

Re: [PHP-DEV] SPL docs

2006-06-10 Thread Steph Fox
Hi Marcus that's nothing more than our manual besides a different layout. I'd like to document how studd is being integrated, how stuff works together and how inheritance trees look like. You saw the gtk tree, wow, cool if there is only one real tree like inheritance graph. But unfortunatley SP

[PHP-DEV] CVS Account Request: firnas

2006-06-10 Thread Sami Basar
i would like participate in the translation of php manual to turkish. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] 1,600,000 ��ª��������� �Ѵ������§�ӴѺ�ѡ���дǡ����Ѻ���¸�áԨ�ͧ��ҹ ��������������������ѹ���¨ҡ��ҧ�������ա�������ҧ �ҤҶ١�ҡ���������ա���� ��˹��¨ӹǹ�ӡѴ

2006-06-10 Thread 1,600,000 ��ª��������� �Ѵ������§�ӴѺ�ѡ���дǡ����Ѻ���¸�áԨ�ͧ��ҹ ��������������������ѹ���¨ҡ��ҧ�������ա�������ҧ �ҤҶ١�ҡ���������ա���� ��˹��¨ӹǹ�ӡѴ
1,600,000 ÃÒª×èÍÍÕàÁÅì ¤Ñ´ÊÃÃàÃÕ§ÅӴѺÍÑ¡ÉÃÊдǡÊÓËÃѺ¢ÂÒ¸ØÃ¡Ô¨¢Í§·èÒ¹ ¾ÃéÍÁ·Ñé§á¶Áâ»Ãá¡ÃÁ·Ñ¹ÊÁѨҡµèÒ§»ÃÐà·ÈÍÕ¡ËÅÒÂÍÂèÒ§ ÃÒ¤Ò¶Ù¡ÁÒ¡ËÒäÁèä´éÍÕ¡áÅéÇ ¨ÓËÂ