[Xapian-discuss] crash in PHP4 examples

Olly Betts olly at survex.com
Tue Nov 29 03:55:50 GMT 2005


On Fri, Nov 25, 2005 at 09:08:34AM +0000, David Heath wrote:
> >Perhaps safe mode is the compiled in default in David's installation?
> >
> >David, what does this give:
> >
> >php4 -i|grep safe
>
> no looks like it's off by default:
>
> [heathd at ruby ~]$ php -i | grep safe
> safe_mode => Off => Off
> safe_mode_exec_dir => no value => no value
> safe_mode_gid => Off => Off
> safe_mode_include_dir => no value => no value
> sql.safe_mode => Off => Off
> safe_mode_allowed_env_vars => PHP_ => PHP_
> safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH

Hmm, what about: php -n -i | grep safe

If that gives the same answer, I'm afraid I've no idea why you get the
error about dl not being allowed in safe mode...

Cheers,
    Olly



More information about the Xapian-discuss mailing list