|
Posted by Jonathan N. Little on 07/11/06 16:38
Ricky Romaya wrote:
> 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.
You can put PHP settings in the .htaccess, depending on your Apache
configuration, example:
php_flag allow_call_time_pass_reference off
see:
http://www.php.net/manual/en/configuration.changes.php
PHP: How to change configuration settings - Manual
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|