I have a php file that authenticate with ldap, it was working fine on localhost but when i uploaded it to cpanel(softaculous), i got this error Fatal error: Uncaught Error: Call to undefined function ldap_connect()
, i know that i have to uncomment extension=php_ldap.dll
in php.ini,but i can not find this file,where can i find the php.ini
file in cpanel?Also i want to know from where i can restart the apache on cpanel?
// Active Directory server
$ldap_host = "CRAMSDCR01V.cloud4rain.local";
// connect to active directory
$ldap = ldap_connect($ldap_host);