[Xapian-discuss] crash in PHP4 examples
Sam Liddicott
sam at liddicott.com
Tue Nov 8 18:35:59 GMT 2005
David Heath wrote:
> Olly Betts wrote:
>
>> On Tue, Nov 08, 2005 at 04:45:56PM +0000, David Heath wrote:
>>
>>> I have been experimenting with simpleindex.php in the php4 examples.
>>
>>
>>
>> Which Xapian version? What platform?
>
> oops.
>
> xapian-bindings-0.9.2/
> xapian-core-0.9.2/
>
> Swig 1.3.24
>
> Mandrakelinux release 10.2 (Limited Edition 2005) for i586
>
> [heathd at ruby src]$ php -v
> PHP 4.3.10 (cli) (built: Aug 24 2005 13:32:39)
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
>
> I built against the mandrake php RPMs.
>
>>
>>
>>> However, the command seems to crash on exit:
>>>
>>> $ php simpleindex.php h < simpleindex.php
>>> Segmentation fault
>>
>>
>>
>> Does "make check" in the php4 subdirectory also fail?
>>
>
> I get:
>
> make[3]: Entering directory `/usr/local/src/xapian-bindings-0.9.2/php4'
>
> Warning: dl(): Dynamically loaded extensions aren't allowed when
> running in Safe Mode in
> /usr/local/src/xapian-bindings-0.9.2/php4/smoketest.php on line 22
>
> but can't see why it would be running in Safe mode, I don't have safe
> mode on in my php.ini.
Recent php have a different ini file for different invocations,
/etc/php4/cli/php.ini is perhaps the one you should look at in this case.
Sam
More information about the Xapian-discuss
mailing list