WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 20, 2015 03:56PM

I have recently had to reinstall Windows 7 (64bit) on my test PC. WAMP was installed on a separate drive, which has now been moved to one with a different drive letter. I have updated the php.ini to reflect the change in path from D:\wamp to E:\wamp (loaded configuration file E:\wamp\bin\apache\apache2.4.9\bin\php.ini ).

When I try to load a project I notice that the link is to 'http://my_project' rather than to [localhost]. I am not sure why this is happening.

The php.ini log reports:
'[20-Apr-2015 12:46:36 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'e:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0'

This library is present. I have seen the thread about a broken SYMLINK so have selected Apache>veriosion>2.4.9. WAMP restarts but the problem persists.

I have tried renaming the existing WAMP directory, doing a new install, removing and reinstalling etc to no avail.

I did install Bitnami yesterday (a Joomla install) but have removed it.

I have added a virtual host as descibed in the respective post.

Advice would be appreciated! I must have done something wrong but am not sure what.

TIA smiling smiley

System is:
Window7 64 Pro
WAMP 2.5 Apache 2.4.9 MySQL 5.6.17 PHP 5.5.12 32 bit
WAMP icon is green
Windows Firewall & MSE



Edited 2 time(s). Last edit at 04/20/2015 06:19PM by agould.

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 20, 2015 08:45PM

Just do this :-


left click wampmanager icon -> Apache -> Version -> 2.4.9 ( click the version number )


This will fix it.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 20, 2015 09:30PM

Thanks but I have tried that several times. I did see the other thread with this instruction but it does not work. For some reason selecting the virtual host or the project from localhost takes me to [www.myproject.com]. I can manually enter the URL localhost/myproject which works. I am not sure what I have done wrong. I have not had this problem when installing and using WAMP before.

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 21, 2015 12:03AM

You have not done anything wrong.

Read this and it should sort you out.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 21, 2015 08:34PM

Thanks I would if I could but I can't see the link to what I should read!

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 21, 2015 10:14PM

Woops, sorry I'll try again. see [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 21, 2015 11:59PM

Thanks. I followed those instructions yesterday and set up a virtual host along with the menu for wampservermanager.exe.

Perhaps I have made an error but I spent a while on it. That is why I was wondering what I have done wrong because I (think) I have followed the post correctly.

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 22, 2015 12:43AM

Show your httpd-vhosts.conf file and also your \windows\system32\drivers\etc\hosts file

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 22, 2015 09:50PM

Here they are:

---------------
httpd-vhosts.conf
---------------

<VirtualHost *:80>
DocumentRoot "e:/wamp/www"
ServerName localhost
ServerAlias localhost
<Directory "e:/wamp/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "e:/wamp/www/Testproj_01"
ServerName Testproj_01
ServerAlias localhost
<Directory "e:/wamp/www/Testproj_01">
AllowOverride All
Require local
</Directory>
</VirtualHost>


---------
Hosts
---------
127.0.0.1 localhost
127.0.0.1 Testproj_01

::1 localhost
::1 Testproj_01

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 23, 2015 12:05AM

Chnage this vhost definition to


<VirtualHost *:80>
    DocumentRoot "e:/wamp/www/Testproj_01"
    ServerName Testproj_01
    ServerAlias www.Testproj_01                              <-- this line was error
    <Directory "e:/wamp/www/Testproj_01">
        AllowOverride All
        Require local
    </Directory>
</VirtualHost>



Copy/Paste will get you all the time

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: Otomatic (Moderator)
Date: April 23, 2015 09:21AM

Hi,

> ServerName Testproj_01
Underscore is not allowed in domain names and ServerName is a domain name.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 23, 2015 12:18PM

Indeed it does! Couldn't see the wood for the trees...

I can now access the virtual host via the virtual host menu (great!) but when I select the project 'MyProject' from Your Projects under localhost it directs to [myproject] and then cannot find it. This is clearly displaying the directory names in \wamp\www\ so I have tried adding myproject as a ServerAlias but that does not work.

I now have the virtual host working so that is great and I have learnt a lot in the process, but I would like to understand why I cannot access it from Your Projects.

Thanks for all your help smiling smiley

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: agould (---.range81-157.btcentralplus.com)
Date: April 23, 2015 12:18PM

Good point! I have removed the underscore. Thanks for pointing this out.

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: dover (---.lightspeed.tukrga.sbcglobal.net)
Date: April 29, 2015 04:57PM

I have done everything on this page and [forum.wampserver.com]. Still there is nothing listed under "Your Virtual Hosts" only under "Your Projects". Help!



Edited 2 time(s). Last edit at 04/29/2015 05:41PM by dover.

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: RiggsFolly (---.as43234.net)
Date: April 29, 2015 05:53PM

Hi dover,

Can we start by you answering these questions please, so we know a little about your current environment. Thanks

[forum.wampserver.com]

It would be a good idea to start a new thread as well.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: WAMP server cannot load php_ldap.dll
Posted by: dover (---.lightspeed.tukrga.sbcglobal.net)
Date: April 29, 2015 07:08PM

Sorry, I had read that link but in my frustration forgot to follow good practices. Thanks for your quick and very patient response.

Options: ReplyQuote


Sorry, only registered users may post in this forum.