trouble configuring php with openssl

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I downloaded PHP 4.4.4 and am trying to install for Apache 2 on Fedora
Core 5.  However when trying to configure with openssl, I get this

configure: error:  Cannot find OpenSSL's <evp.h>

That file is located in /usr/include/openssl/evp.h but when I put the
directory in the configure option


I get the same error.  What directory am I supposed to place in the
"--with-openssl" command?

Thanks, - Dave

Re: trouble configuring php with openssl

On 13 Sep 2006 19:13:56 -0700, ""

Quoted text here. Click to load it

 PHP's configure script has the following (at least on 5.1.6):

    for i in $PHP_OPENSSL_DIR; do
      if test -r $i/include/openssl/evp.h; then
      if test -r $i/$PHP_LIBDIR/libssl.a -o -r
      test -n "$OPENSSL_INCDIR" && test -n "$OPENSSL_LIBDIR" && break

    if test -z "$OPENSSL_INCDIR"; then
      { echo "configure: error: Cannot find OpenSSL's <evp.h>" 1>&2; exit 1; }

 So you probably want --with-openssl=/usr ?

Andy Hassall :: :: :: disk and FTP usage analysis tool

Site Timeline