Before proceeding,do check whether LDAP module is enabled by default or not, you can verify the same using phpinfo.php page.
To check create the a php file within htdocs folder as phpinfo.php
create a notepad file and rename it as phpinfo.php
paste the below mentioned code into it and save it into htdocs folder
<?php
phpinfo();
?>
If you find the below mentioned screenshot, Well !!! you don't need to do anything PHP_LDAP module is already enabled within your XAMP server.
Now, if you can't find anything like that just follow the steps.
- Change directory to C : -- xampp -- php
- Find and Copy the listed files
- Now again toggle / change directory into C : --> xampp --> php
- Find and open file named php.ini
- Again find and UnComment the below mentioned line to enable it.
;extension=php_ldap.dll
and make it look like the below screenshot by removing the ;
to look it as extension=php_ldap.dll
Now restart Apache from XAMP control pannel