Re: Re: Adding extension to an existing PHP install
| From: | Shawn McKenzie | Date: | Mon, 12 Jan 2009 18:09:46 +0000 |
| Subject: | Re: Re: Adding extension to an existing PHP install | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286109@lists.php.net to get a copy of this message | ||
Tim Donnelly wrote:
> I seem to recall reading something about Apache modules that you can do
> a configure, then make, but not the make install and just move the newly
> compiled module by hand.
>
> Is that possible with PHP? If so, where would the newly complied
> extension be, and where would it need to be moved?
>
> Thanks
>
>> I 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?
>
>
>
>
>> 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.
>>
>>
>
>
>
The binary should be in the dir where you ran make (I think) and you
should put it in the dir specified in your php.ini for extensions.
--
Thanks!
-Shawn
http://www.spidean.com