Re: global variables w/o access to global php.ini
| From: | Timothy J. Luoma | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: global variables w/o access to global php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86512@lists.php.net to get a copy of this message | ||
On Wed, 27 Feb 2002, CC Zona wrote:
> > I have a virtual domain under Apache and do not have access to the global
> > php.ini file
> >
> > Apache lets me set site-wide configuration in an /.htaccess file
> >
> > Is there something similar for PHP?
>
> Forget "similar", you can set PHP config options in the .htaccess file
> itself. See <http://php.net/configuration>.
Thanks for your reply.
I'm afraid I did a poor job of asking my question(*). My apologies.
I would like to set some variables of my own creation (ie $DOMAIN_NAME) on
a global basis.
I am looking for the best way to do that without access to the php.ini
file.
TjL
ps -- I promise to go re-read
http://www.tuxedo.org/~esr/faqs/smart-questions.html
ten times :-)