Re: Openssl with PHP
| From: | Timothy R. Robnett | Date: | Wed, 27 Feb 2002 23:24:11 +0000 |
| Subject: | Re: Openssl with PHP | ||
| References: | 1 | Groups: | php.dev php.install |
| Request: | Send a blank email to php-install+get-6182@lists.php.net to get a copy of this message | ||
On Wed Feb 27, 2002 at 05:12:26PM -0500, Hunter, Ray wrote:
> System: RedHat 7.2
> Openssl: openssl-0.9.6c and openssl-engine-0.9.6c
> PHP: 4.1.2
>
> Has anyone installed openssl with php. I am getting an error where it can
> not find the evp.h file. I am wondering if there is a problem with openssl.
> I am trying to install snmp with php and it needs openssl for snmp version
> 3.
>
I did this last week on a Trustix 1.5 (think RedHat 6.2 w/security improvments).
I also compiled my own version of OpenSSL from source which required updating my OpenSSH as well,
from source. I don't know for sure if you will need to do all of this but the key for me was
adding --with-openssl=/usr to my ./configure statement. Don't forget to install openssl-devel
if you are using the RPM based copy of OpenSSL.
Verify in /usr/include/openssl that evp.h exists if it does then the switch above should (cross your
fingers) work. As always YMMV :-)
Tim