> 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.

Correct.  Why don't you write yourself a little trivial PHP extension that
sets stuff in the MINIT hook?  With the ext/ext_skel tool it is really
very easy to do if you know just a little bit of C.  Then you can have
things other than constants as well.  Functions or classes that you use
often can be written directly in C and performance-wise it beats any other
mechanism you can find by a lot.

-Rasmus


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to