#19202 [Opn->Bgs]: environment variable PHPRC not used

From: Date: Fri, 30 Aug 2002 21:46:35 +0000
Subject: #19202 [Opn->Bgs]: environment variable PHPRC not used
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18291@lists.php.net to get a copy of this message
ID: 19202 Updated by: sniper@php.net Reported By: phpbug083002@smayw.nask.com -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: RedHat 7.2 PHP Version: 4.2.2 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Hint: It's a shell environment variable..set it before starting apache.. Previous Comments: ------------------------------------------------------------------------ [2002-08-30 14:08:02] phpbug083002@smayw.nask.com I set the environment variable PHPRC using: SetEnv PHPRC /etc/httpd/conf/aktualnosci.tras.pl and create a /etc/httpd/conf/aktualnosci.tras.pl/php.ini file: -rw-r--r-- 1 root root 96 Aug 30 18:29 /etc/httpd/conf/aktualnosci.tras.pl/php.ini containing: open_basedir =/home/web1/aktualnosci.tras.pl:/tmp doc_root =/home/web1/aktualnosci.tras.pl/www I am sure the variable gets set (http://aktualnosci.tras.pl/php.sphp) but the config file used remains at the default, and none of the options set in the ini file get modified - looks like the file is not looked at, basically ignored. Help :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19202&edit=1

« previous php.bugs (#18291) next »