Re: Adding extension to an existing PHP install
| From: | Nathan Rixham | Date: | Fri, 09 Jan 2009 17:30:48 +0000 |
| Subject: | Re: Adding extension to an existing PHP install | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285863@lists.php.net to get a copy of this message | ||
Tim Donnelly wrote:
Hello list, I have a PHP (5.2.1) installation on an openSUSE 10.1 server. PHP was initially compiled from source and I have the original config.nice file, so I know what options were used. l need to add an extension to this running installation, specifically I need to add LDAP support. How is the best way to do this? I know I can recompile and reinstall, but I am worried that some extensions may have been added after the initial install and my new installation would overwrite those. I've looked at PECL and PEAR. Using PEAR I added the AUTH package, but that didn't seem to fix anything, I think that is more for developing an LDAP enabled app, rather than allowing an existing one to utilize LDAP functionality. PECL didn't seem to have anything LDAP related, unless I missed it. Thank youI always just do a phpinfo on the box I'm upgrading, grab the .configure line and re-use it adding in or changing what I need; that way it's sure to be the same?