php.ini config

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jezaustin
Forum Newbie
Posts: 1
Joined: Thu Dec 23, 2010 8:01 am

php.ini config

Post by jezaustin »

Hi guys,
Running PHP 5.2.11 under Apache 2.2.3 as mod_php, and using
SetEnv PHPRC /[foo]/etc
in my vhost's stanza of httpd.conf

but it doesn't work...

phpinfo() claims
Loaded Configuration File /etc/php.ini
PHPRC /[foo]/etc

So the environment knows PHPRC but still loads /etc/php.ini.
How can I make it honour PHPRC?

thanks,
Jez Austin.
Post Reply