Hi Gary,
Could you turn on debugging and give us the full error including stack trace?
This thread on the Moodle forums seems related https://moodle.org/mod/forum/discuss.php?d=220978
Though the thread only really suggests making sure both mysql and apache were restarted after making the change.