Configuration error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dstefani
Forum Contributor
Posts: 140
Joined: Sat Jan 11, 2003 9:34 am
Location: Meridian Idaho, USA

Configuration error

Post by dstefani »

I'm trying to reconfigure PHP and I keep getting the error:
checking for OpenSSL support... yes
configure: error: Cannot find OpenSSL's <evp.h>
Here is my configuration string:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-ftp --with-openssl=/usr/include/openssl
When I look at /usr/include/openssl I can see evp.h.
I've tried it both with a trailing / and without.

Any ideas?

Thanks - D
User avatar
dstefani
Forum Contributor
Posts: 140
Joined: Sat Jan 11, 2003 9:34 am
Location: Meridian Idaho, USA

Post by dstefani »

Here's how I got this to configure:
For the [DIR] I just used the BASE of the dir path:
--with-openssl=/usr
and it gave me a successful configure. I still don't have openssl working, it's an rpm RH package that was installed with the OS, so now I'm going to remove the rpm version and reinstall the *.tar version.

- D
Post Reply