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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/ 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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/#findComment-217498 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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/#findComment-217505 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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/#findComment-217506 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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/#findComment-217512 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. Link to comment https://forums.phpfreaks.com/topic/44794-configure-php-extensions/#findComment-217521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.