I have mysite.com and sub.mysite.com
php.ini is set to display_errors=off
but for sub.mysite.com which is a testing site, I want display_errors=on
how do I do that?
|
I have mysite.com and sub.mysite.com php.ini is set to display_errors=off but for sub.mysite.com which is a testing site, I want display_errors=on how do I do that? |
|||
|
|
|
I found the solution Add this to the .htaccess file in the root of the subdomain
|
|||
|
|
|
This really comes down to your specific php.ini setup. You may be able to, depending upon your configuration, to inject into the .htaccess and/or into a local site php.ini file the settings you want to show. If your using cPanel (may work with others as well) try the following:
Keep in mind if safe mode is enabled - than this will not work. PHP link: http://www.php.net/manual/en/configuration.changes.php |
|||
|
|