Re: OpenSSL support => disabled (install ext/openssl) [message #173361 is a reply to message #173360] |
Tue, 05 April 2011 01:17 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 4/4/2011 8:14 PM, Bob wrote:
> On Apr 4, 3:27 am, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>
>> Do you have OpenSSL installed (which version?) and are the .so's
>> available to PHP? This problem is almost always caused by an old
>> version of OpenSSL being picked up or OpenSSL not being available to PHP.
>
> Am I supposed to set LD_LIBRARY_PATH? Or some other variable?
> I want to use --with-openssl=/usr/..some dir.. but I couldnt find
> an appropriate one to use.
>
> I have openssl installed (apparently):
>
> openssl-0.9.8n-2.fc11.i686
> openssl-devel-0.9.8n-2.fc11.i586
>
> /usr/lib/openssl/engines: (though these dont look like what I want?
> not sure)
> -rwxr-xr-x. 1 root root 14548 Jun 2 2010 lib4758cca.so*
> -rwxr-xr-x. 1 root root 14664 Jun 2 2010 libaep.so*
> -rwxr-xr-x. 1 root root 10580 Jun 2 2010 libatalla.so*
> -rwxr-xr-x. 1 root root 2864 Jun 2 2010 libcapi.so*
> -rwxr-xr-x. 1 root root 18960 Jun 2 2010 libchil.so*
> -rwxr-xr-x. 1 root root 16508 Jun 2 2010 libcswift.so*
> -rwxr-xr-x. 1 root root 2860 Jun 2 2010 libgmp.so*
> -rwxr-xr-x. 1 root root 8804 Jun 2 2010 libnuron.so*
> -rwxr-xr-x. 1 root root 18808 Jun 2 2010 libsureware.so*
> -rwxr-xr-x. 1 root root 14684 Jun 2 2010 libubsec.so*
>
>>
>> The other cause is not using the PHP executable or php.ini file you
>> think you're using, but since you are getting the message that OpenSSL
>> is disabled, this is less likely.
>>
>
> I noticed in my config.log that it doesnt say yes or no when
> configuring openssl:
>
> configure:21995: checking for OpenSSL support
> configure:22039: checking for Kerberos support
> configure:22725: checking for DSA_get_default_method in -lssl
> configure:22744: gcc -o conftest -g -O2 -fvisibility=hidden
> conftest.c -lssl -lrt -lm -ldl -lnsl -lxml2 -lz -lm 1>&5
> configure:22786: checking for pkg-config
> configure:22991: checking for OpenSSL version
>
>
>
Unfortunately, I'm not that familiar with openssl on Linux - I use
Debian, and just installing the Debian OpenSSL and PHP5 packages enabled
it for me. I would suggest you check with the openssl people as to what
they need, especially if you installed it by hand.
I'm using OpenSSL 0.9.8o 01 Jun 2010, but yours should work also.
Also, config generally outputs a message only if something is not found,
so it is finding it at compile time. The question is why it isn't
finding it at runtime.
Which version of Linux are you using?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|