Custom phprc per site/domain


#1

Hi,

I’m running PHP 5.3 FastCGI and am able to override settings with the phprc file (as described in http://wiki.dreamhost.com/PHP.ini#PHP_5.3). The Wiki page talks about setting up domain-specific phprc files, but I’m not sure how to do this. Like, where would I put the domain-specific phprc file?

Thanks!


#2

Create a separate user for each domain in which you would prefer different settings and attach the domain to them, then use the phprc method outlined at the wiki link you mentioned.