hi,

when looking at the bug http://bugs.php.net/52045, I figure out that
the CLI sapi need to not check php.ini in the current directory (in
main/php_ini.c from line 436 to line 442). I need to change this file
to make FPM another exception by not adding cwd in the php.ini search
path.

When talking with johannes, he wondered  "we can make this a flag in
sapi_globals_struct. so sapi-related stuff can be done in the sapi
without touching main/. This might only be done in trunk.".

I attached a patch which do this on the bug report.

Do you think it's a good idea and I can commit it into trunk ?

Moreover, does the CGI sapi need the same correction ?

Thx
++ Jerome

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to