Package: libapache2-mod-fcgid Version: 1:2.3.5-2 The FcgidInitialEnv directive does not seem to have any affect.
I've configured the following line in my virtual host:
FcgidInitialEnv PHPRC /srv/projects/default/php5
My wrapper script:
#!/bin/bash
exec /usr/bin/php-cgi
When I execute a php script with:
<?php echo getenv('PHPRC'); ?>
It returns nothing.
When I add to my virtual host configuration:
SetEnv PHPRC /srv/projects/default/php5
Then, my getenv command properly returns /srv/projects/default/php5.
I think this is another bug... but for the record, even with PHPRC set
by SetEnv, php-cgi still uses the default /etc/php5/cgi path to find the
php.ini file.
--
Jamie McClelland
718-303-3204 ext. 1
May First/People Link
Growing networks to build a just world
http://www.mayfirst.org
https://support.mayfirst.org
Members Local 1180, Communications Workers of America, AFL-CIO
PGP Key: http://current.workingdirectory.net/pages/identity/
signature.asc
Description: Digital signature

