FAQ
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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedAug 24, '10 at 6:04p
activeAug 24, '10 at 6:04p
posts1
users1
websitephp.net

1 user in discussion

Jérôme Loyet: 1 post

People

Translate

site design / logo © 2022 Grokbase