[Yazlist] PHP/YAZ segfault

Adam Dickmeiss adam at indexdata.dk
Sat Jan 10 10:04:30 CET 2004


Christoffer Landtman wrote:

> Adam Dickmeiss wrote:
>
> I could submit my entire code, as the module should have all the 
> features we intended and should also perform well except for this, if 
> it would help the debugging process.

In order to debug, in general, Apache+PHP, run Apache with option -X on 
the command line, i.e.

/usr/local/apache/bin/httpd -X -f /usr/local/apache/conf/htpd.conf

You can either run it within gdb or use a memory debugging tool such as 
valgrind.

-- Adam

>
> As I earlier asked on this list, I wondered if there is a way to run 
> the module though some sort of debugger?
>
> Thanks,
>
>>
>>>
>>> I have never coded PHP-modules, and my experience in C is also a bit 
>>> vague, so if You see anything else, besides the reallocation, that 
>>> could be rewritten please let me know.
>>>
>>> Thanks in advance!
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlist at indexdata.dk
>> http://www.indexdata.dk/mailman/listinfo/yazlist
>
>
>







More information about the Yazlist mailing list