|
Posted by Ricky Romaya on 07/11/06 13:10
Hi,
I'm using Apache webserver 1.3.27 and PHP 4.3.0. On my development machine,
I have created several virtual hosts. AFAIK PHP configuration is stored in
php.ini. I want some of the virtual hosts override some of PHP
configuration, while the rest retain the configuration in the php.ini. How
can I achieve this? I'm thinking a similar approach like Apache's
httpd.conf and .htaccess, but how to do it with PHP.
Furthermore, one of my project involves multiple subdomains, each
implemented by way of virtual hosts. Say a domain dev.foo.net have several
subdomains (dev.sd1.foo.net, dev.sd2.foo.net, etc), and I have other
domains configured in my machine, like dev.bar.org and wdv.blah.com. Also
say that default php.ini is the default config for all domains in my
machine. How can I make a configuration override applicable only from
dev.foo.net and it's subdomains, but not applicable to other domains
(dev.bat.org and wdv.blah.com uses the default php.ini entirely).
Oh, BTW, the machine is running on WinXP sp1a.
TIA
Navigation:
[Reply to this message]
|