# enable PHP error logging
php_flag log_errors on
php_value error_log /mnt/stor1-wc1-dfw1/123456/123456/www.yourdomain.com/logs/php-error.log
Replace yourdomain.com with your actual domain name, and the rest of the path with your correct server side path as found in your control panel under Features > Server-side Paths.
Then create a blank file named php-error.log in the directory you specified and change the permissions to 777.
Once enabled PHP error logs can be accessed via FTP in /www.yourdomain/logs/ or the file you specify as above.
Logging should be enabled by default, but if it is not you’ll need to first turn it on in the control panel.