i have xampp running multiple hosts can i multiple configure php so
that php is configure difrent for each separate host and how can i do this if
php can be multiple configure for each host thanks john and running
XAMPP 1.7.3 on xp Pro sp3
JonB wrote:To be honest, I'm not sure why 'you' would want different configurations for different vhosts (at least in most cases), but it is certainly possible. I do know its an issue for those using ISP/Hosting companies.
It can be done right in the httpd.conf or .htaccess files (so its effectively directory/folder specific) And every Vhost will have its own DocumentRoot /and vhost entries in httpd.conf (in general) although for XAMPP, they would usually go in the the /apache/conf/extra/httpd-vhosts.conf
http://php.net/manual/en/configuration.changes.php
http://php.net/manual/en/function.ini-set.php
http://www.programmingfacts.com/set-php-configurationphp-ini/
Beyond this - I'm going to defer to Altrea or one of the other PHP experts on this - as I have not used this method myself.
Good Luck xnoddyx
To be honest, I'm not sure why 'you' would want different configurations for different vhosts
It can be done right in the httpd.conf or .htaccess files (so its effectively directory/folder specific)
And every Vhost will have its own DocumentRoot /and vhost entries in httpd.conf (in general) although for XAMPP, they would usually go in the the /apache/conf/extra/httpd-vhosts.conf
Users browsing this forum: No registered users and 203 guests