[linux] PHP w/OpenSSL Compilation Error

Rohan S. =) rohan at washington.edu
Fri Sep 17 19:35:44 PDT 2004


Garrett,

Garrett,

I emailed C&C about it, but I didn't get a response. I don't blame them, I
figure they have a lot more to be concerned about than whether the PHP on
Vergil is the latest and greatest ;)

As for disk space, I've managed to keep everything just under 100 MB, and
I'm only using one or two ports. But if this isn't justified by the product,
I'll shut it down.

-Rohan Singh =)
rohan at washington.edu
(206) 235-6123


-----Original Message-----
From: linux-bounces at mailman.u.washington.edu
[mailto:linux-bounces at mailman.u.washington.edu] On Behalf Of
youshi10 at u.washington.edu
Sent: Friday, September 17, 2004 5:56 PM
To: Linux/Unix Users Group at the UW
Subject: Re: [linux] PHP w/OpenSSL Compilation Error

      You know, if the version of PHP wasn't to your liking you could always
email the consultants at help at cac.washington.edu and that might solve that
issue. Remember that since you're running your own Apache webserver daemon
it's eating up more resources and available ports, plus disk space on the
Vergil galaxy systems. But oh well... they allow people to install
individual MySQL servers, so what do I know =p...
-Garrett

On Thu, 16 Sep 2004, Rohan S. =) wrote:

> Since the version of PHP on the uniform access servers is a bit dated 
> (4.2.0), I decided to install my own versions of Apache and PHP. The 
> main reason I wanted to compile my own version is to enable PHP FTP 
> functions (via the --enable-ftp configuration option) so I could use
ftp_ssl_connect.
>
> I managed to install Apache 1.3.26 without much hassle. It's up and 
> running at this URL:
> http://vergil.u.washington.edu:8090/
>
> I then downloaded the PHP 4.3.8 source. I used phpinfo() to figure out 
> what configuration options had been used to compile PHP orginally. You 
> can see the phpinfo() output here: 
> http://students.washington.edu/rohan/phpinfo.php
>
> That shows that the original PHP configure command was:
> ./configure --prefix=/usr/local/php4 --disable-force-cgi-redirect 
> --enable-discard-path --enable-shared=no --enable-static=yes 
> --with-openssl=/usr/local/openssl --sysconfdir=/usr/local/lib 
> --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql 
> --with-zlib=/usr/local/zlib --with-gd=/usr/local 
> --enable-gd-native-ttf --with-jpeg-dir=/usr/lib 
> --with-png-dir=/usr/lib --with-ibm-db2=/usr/local/db2inst/sqllib 
> --with-ldap=/usr/local/openldap
>
> To configure my PHP installation, I used basically the same 
> configuration
> line:
> ./configure --prefix=$HOME/apps/php4 --with-apache=$HOME/apps/apache 
> --enable-ftp --disable-force-cgi-redirect --enable-discard-path 
> --enable-shared=no --enable-static=yes 
> --with-openssl=/usr/local/openssl --sysconfdir=/usr/local/lib 
> --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql 
> --with-zlib=/usr/local/zlib --with-gd=/usr/local 
> --enable-gd-native-ttf --with-jpeg-dir=/usr/lib 
> --with-png-dir=/usr/lib --with-ibm-db2=/usr/local/db2inst/sqllib
> --with-ldap=/usr/local/openldap
>
> The only differences between the oroginal configure command and mine 
> are that I configured the installation directory to be in a 
> subdirectory of my home directory, I explicitly pointed to my own 
> Apache installation, and I put in the --enable-ftp option to enable 
> PHP FTP functions. But when I try to run this command, I get the following
error:
>
> Configuring extensions
> checking for OpenSSL support... yes
> checking for pkg-config... no
> configure: error: Cannot find OpenSSL's <evp.h>
>
> I checked, and the /usr/local/openssl directory that is in the 
> configure command does actually exist. However, evp.h is nowhere to be 
> found. What puzzles me is that my --with-openssl flag is identical to 
> the original configuration flag, but it fails anyway. I need OpenSSL 
> support, so I can't just take out that flag. Does anyone know where I
should go from here?
>
> Thanks in advance!
> -Rohan Singh =)
> rohan at washington.edu
> (206) 235-6123
>
>




More information about the Linux mailing list