Re: auto_prepend/append: does the PHP engine cache the
| From: | Jean-Christian Imbeault | Date: | Sun, 29 Sep 2002 14:11:11 +0000 |
| Subject: | Re: auto_prepend/append: does the PHP engine cache the | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88747@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
If you need only constants/variable, use php_value in your php.ini/httpd.conf, or set an environment variable.I tried using php_value but it seems that it can only be used (in the Apache httpd.conf file) to set *real* php config variables. I tried: <IfModule mod_php4.c> php_value JC_TEST_STR "THIS IS COMING FROM APACHE" </IfModule> and just plain php_value JC_TEST_STR "THIS IS COMING FROM APACHE" in the httpd.conf file But get_cfg_var("JC_TEST_STR") returned false ... so I could not access the value. Jc