sometimes, you may need extra modules in php windows enviroment.
for example, how to enable ldap and openssl support in windows apache php?
step1: download wamp5 from
http://www.wampserver.com/en/
make sure your computer is 32bits or 64bits.
follow the instraction, next->next->
step2: start wamp5
step3: open a browser, type http://localhost in the url box
It will display the wamp home page.
In the server configuration, Loaded Extensions will display all the extra modules.
But there may not have ldap and openssl.
step4: left click the wamp icon on the right buttom of the screen of windows.
Choose php and click php.ini
search extension_dir
if it looks like this
;extension_dir = "D:/wamp/bin/php/php5.3.10/ext/"
remove the ; at the beginning.
open the folder "D:/wamp/bin/php/php5.3.10/ext/", make sure the php_ldap.dll and php_openssl.dll are there.
search
;extension=php_ldap.dll
;extension=php_openssl.dll
remove the ; at the beginning, after that , it should looks like this
extension=php_ldap.dll
extension=php_openssl.dll
save and exit.
restart you wamp.
refresh http://localhost
you may find that openssl is in the Loaded extensions, but ldap may still not there.
step5: search libeay32.dll and ssleay32.dll, they should in the same path.
add that path to the system path .
step6: restart your wamp.
you can see that ldap is in the Loaded Extensions now.
useful linkers:
ReplyDeletehttp://php.net/manual/en/install.windows.extensions.php
Excelente, me sirvió mucho
ReplyDeleteI still not see it
ReplyDelete