Added an option for adding error logs for php apps