How do I specify different php config values for each subdomain? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: How do I specify different php config values for each subdomain? (/thread-1974.html) |
How do I specify different php config values for each subdomain? - motin - 12-11-2007 10:44 PM I have a testing subdomain and a live subdomain, and in vhcs I used php_admin_value to set display_errors to 1 resp 0 for the different domains. Also, for some directories I use special error_log directives. With ispcp's fastcgi-based and one-php.ini-per-customer approach - how can I differentiate the configuration on a subdomain basis? Thanks for your reply! RE: How do I specify different php config values for each subdomain? - rbtux - 12-11-2007 11:14 PM set the subdomain up as a normal domain... RE: How do I specify different php config values for each subdomain? - joximu - 12-11-2007 11:26 PM You alos can change it manually in the apache config (ispcp.conf) Code: <IfModule mod_fastcgi.c> just make another folder for the starterscripts and the php.ini and copy th changed file also to /etc/ispcp/apache/working - otherwise you'll loose them on the next ispcp change... /Joximu |