Re: PHP Source Code Help

From: Date: Sun, 15 Jul 2007 07:31:15 +0000
Subject: Re: PHP Source Code Help
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-30945@lists.php.net to get a copy of this message
Antony Dovgal wrote:
failed to open stream Which I have traced to file: php-4.4.7/main/streams.c and function: _php_stream_open_wrapper_ex
        stream = wrapper->wops->stream_opener(wrapper, path_to_open, mode, options ^ REPORT_ERRORS,
                 opened_path, context STREAMS_REL_CC TSRMLS_CC);
Error condition occurs when stream is assigned NULL from wrapper->wops->stream_opener call (see above line). I need some help figuring out which function is call by pointer wrapper->wops->stream_opener.
Use any of the debuggers available to step into it and see which function is called. Since PHP is invoked by Apache server, how can I hockup gcc with php ? is there an easy way to do this ?


« previous php.internals (#30945) next »