|
Posted by Antoine EMERIT on 02/19/07 14:59
Antoine EMERIT <sdfqsdf@nowhere.com> ιcrivait
news:XnF98DC8A51B454Baemeritaglfr@212.27.60.37:
> Hi,
>
>
> I have apache 1.3 and apache 2, using php 4 and 5.
>
> Fo test purpose I've compiled APC (Alternatice PHP Cache).
>
> Now I need to set the "zend_extention" php.ini directive with
> differents values (path of the apc.so file).
>
> I can't see any way to do this in the httpd.conf, so I search how to
> specify a different php.ini file at the apache startup.
>
> The PHP documentation at
> http://fr2.php.net/manual/en/configuration.php gives many way. But
> none seems to work. I'm using PHP as a module.
I've found a generic way, which works with Apache 13 and Apache 2 :
use of the PHPRC os environment variable
PHPRC=/home/conf/php-ini/phpa
export PHPRC
PHPRC=/home/conf/php-ini/apc
export PHPRC
with one php.ini in each PHPRC directory
Bye
Navigation:
[Reply to this message]
|