by Gary Morgan.
I'm having exactly these problems having just updated Moodle from 2.4 to 2.79, therefore needing to upgrade php to 5.4.43. I'm on CentOS. A lot of the people with this error seem to be experiencing it with Windows installs but mine isn't. I can't find a /etc/php.d/ folder or a ldap.ini, but in the apache configuration, the LDAP box is ticked. Any suggestions please?