To do this, create a new file with the following contents:
Be sure to replace "YOUR_IDENTIFIER" with the identifier you've chosen for your webhosting.
Code: Select all
php_flag log_errors on php_value error_log /usr/www/YOUR_IDENTIFIER/php_errors.log
Save this file as ".htaccess" and place it inside of the root directory for your site. By default, this will be the "public" directory. After saving this file, you should see errors written to a php_errors.log file inside of the directory specified by the file.