[Solved] PHP Startup: Unable to load dynamic library c:/wamp/bin/php/php5.3.8/ext/php_ldap.dll. The specific module could not be found.
If you are using WAMP server and trying to do LDAP authentication with PHP you will probably get into this issue. Do the simplest and obvious first to check (correct) php.ini (as it is shown in phpinfo output) and extension_dir path in php.ini. If nothing works and you still see this error while starting/restarting wamp server copy libsasl.dll (located inside php folder) to system32 folder. Now restart the wamp server and this error should go away.
How to enable LDAP support for PHP on WAMP.
If you are starting fresh, download and install WAMP server (http://www.wampserver.com/en/) and install it. There is hardly anything that you can do during installation. Once the installation is done, click on wamp service->php->php extensions->ldap.
Now restart the WAMP services (wamp service->Restart All Services) and you might get "PHP Startup: Unable to load dynamic library php_ldap.dll" dialog OR look into Apache error log (wamp server->Apache->Apache error log) for this error.
Simply copy libsasl.dll into system32 folder. Now restar wamp server and php_ldap should be loaded correctly without any error.
Keywords: Configuring LDAP Windows WAMP Server
Monday, December 05, 2011
Tuesday, April 19, 2011
How to create ISO file from CD/DVD on MAC
1. Use drutil utility to check the CD/DVD mount point after you insert the CD/DVD
drutil status
---------------------------------------------------
MATSHITA DVD-R UJ-898 HC10
Type: CD-ROM Name: /dev/disk3
Sessions: 1 Tracks: 21
Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 75:37:25 blocks: 340300 / 696.93MB / 664.65MiB
Writability:
---------------------------------------------------
2. Now you will need to umount the disk with the following command (use the discx for unmounting the disk as you see in Name field above:
diskutil unmountDisk disk3
3. Now you can write the ISO file with the dd utility:
dd if=/dev/disk3 of=file.iso
4. When finished you will want to remount the disk:
diskutil mountDisk disk3
drutil status
---------------------------------------------------
MATSHITA DVD-R UJ-898 HC10
Type: CD-ROM Name: /dev/disk3
Sessions: 1 Tracks: 21
Overwritable: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 75:37:25 blocks: 340300 / 696.93MB / 664.65MiB
Writability:
---------------------------------------------------
2. Now you will need to umount the disk with the following command (use the discx for unmounting the disk as you see in Name field above:
diskutil unmountDisk disk3
3. Now you can write the ISO file with the dd utility:
dd if=/dev/disk3 of=file.iso
4. When finished you will want to remount the disk:
diskutil mountDisk disk3
Monday, April 11, 2011
Google Chrome: Tabs only close after two attempts
Since few days, I realized that it is taking "command+w" press twice to close a google chrome browser tab.
This is for sure some extensions issue. I had SlideShow extension creating this problem. If you have this extension enabled, just disable and try out. Otherwise there would be some other extensions creating this problem. Troubleshoot by disabling all of them and enabling them one by one.
In some cases this could be Chrome build problem as well because of flash.
This is for sure some extensions issue. I had SlideShow extension creating this problem. If you have this extension enabled, just disable and try out. Otherwise there would be some other extensions creating this problem. Troubleshoot by disabling all of them and enabling them one by one.
In some cases this could be Chrome build problem as well because of flash.
Friday, March 25, 2011
Unable to print on Canon printers with Macbook
I have really strange problem of not been able to print on one of the new Canon MF9130 printer in my office. Tried uninstalling/reinstalling the printer driver but all in vein. Thanks to my IT manager "Marek" for the tip.
Open "Disk Utility", select "Macintosh HD" and click on "Repair Disk Permissions". This fixed the printing problem..
Hope this works out for you as well!!!
Open "Disk Utility", select "Macintosh HD" and click on "Repair Disk Permissions". This fixed the printing problem..
Hope this works out for you as well!!!
Subscribe to:
Posts (Atom)