How to enable PHP error logging in CodeIgniter

category:  CodeIgniter, Web development

When you deploy your application to the production server, it is a good practice that you enable the PHP error logging file for your application. Because we don’t enable the PHP error reports on the production, we will create the error logging file to collect the PHP error on the production for us. In CodeIgniter, enable the error logging is simple since CodeIgniter has this function built-in. Below is the steps you can follow. Make your application/logs folder writable on … Read More