Created
May 9, 2015 22:21
-
-
Save duogeekdev/d76884c1a06f56f14298 to your computer and use it in GitHub Desktop.
Setup PHP Ini Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Turns the output of errors on or off, you really never want this on, you should only view errors by reading the log file. */ | |
ini_set('display_errors', WP_DEBUG_DISPLAY); | |
/** Tells whether script error messages should be logged to the server's error log or error_log. */ | |
ini_set('log_errors', 'On'); | |
/** http://us.php.net/manual/en/timezones.php */ | |
ini_set('date.timezone', 'America/Indianapolis'); | |
/** Where to log php errors */ | |
ini_set('error_log', ASKAPACHE_ROOT . '/logs/php_error.log'); | |
/** Set the memory limit, otherwise defaults to '32M' */ | |
ini_set('memory_limit', WP_MEMORY_LIMIT); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment