Hi,

I also had issues with FcgidInitialEnv PHPRC in virtual host context and
it looked like it was being ignored, however, phpinfo() told me it wasn't.

I was actually trying to add a single overriden variable per virtual host
(error_log location) and to accomplish that, I added a new
/etc/php5/cgi-local directory with php.ini symlinked back to /etc/php5/cgi.
But, then I didn't just symlink /etc/php5/cgi-local/conf.d back to
/etc/php5/cgi/conf.d, instead I made a new directory that included symlinks
to files in the generic conf.d, except that at the end I also placed my own
zz-local-override.ini file.

The problem there was that the PHPRC variable is wholly irrelevant as far as
conf.d location is concerned - I had to change the PHP_INI_SCAN_DIR variable
instead. This actually turns out to be even more convenient because I don't
have to touch PHPRC or php.ini itself.

HTH...

-- 
     2. That which causes joy or happiness.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to