eyegraphix Posted March 29, 2007 Share Posted March 29, 2007 Hello. Here's the deal. I'm using (sharing) a debian/linux server which has php 5.2.1 and apache 1.3.x already working and installed. The trouble is it does not have the ldap extension installed on it and since I'm a newbie at linux command line I can't figure out how to install it. I looked at the help file on http://us3.php.net/manual/en/install.unix.php which says i need to run the "./configure" command, then "make", and "make install" and php.net said I can run these commands without recompiling php, and all i need to do is restart apache after that and I'm good. My question is, where do I run these commands from?? Do I have to be inside the package? I can't even find where the php package is at. I thought it should be in the /usr/lib folder but I can't find it. Sorry for sounding like such a newb, I'm used to windows server's. I'd greatly appreciate some help. Quote Link to comment Share on other sites More sharing options...
per1os Posted March 29, 2007 Share Posted March 29, 2007 php.ini You have to comment out the extension line you want or add your own line. Quote Link to comment Share on other sites More sharing options...
eyegraphix Posted March 29, 2007 Author Share Posted March 29, 2007 I've done that, but the extension isn't even in the folder. The extension folder according to my phpinfo() is /usr/lib/php5/20060613 but the extension isn't in there. Quote Link to comment Share on other sites More sharing options...
per1os Posted March 29, 2007 Share Posted March 29, 2007 You need to download the .dll or .so file and put it into the extensions dir. Quote Link to comment Share on other sites More sharing options...
eyegraphix Posted March 29, 2007 Author Share Posted March 29, 2007 Which is where exactly? I downloaded the source code and didn't find php_ldap.so anywhere. Quote Link to comment Share on other sites More sharing options...
per1os Posted March 29, 2007 Share Posted March 29, 2007 /path/to/php/extensions/ As for finding the extension, I am not sure you need to download the file from somewhere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.