displaying errors with out access to configure php.ini
Moderator: General Moderators
displaying errors with out access to configure php.ini
is there a way to display errors on my page when that has been disabled in the main php config files? I'm working on a site on a server where I cannot modify the main php config.
Re: displaying errors with out access to configure php.ini
The ini_set() function.
Place this at the top of your script.
However, if there's a parse error, just a blank white page will be returned, even with the above code. You can also create a .htaccess file with the php configuration options.
Place this at the top of your script.
Code: Select all
ini_set('display_errors', 'On');
error_reporting(E_ALL);Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.