Thank you very much for the prompt reply Daniel. Unfortunately it didn't work; still reports "no package openssl found". Considering how popular PHP is, I doubt that this is a bug; I think it is something that I don't know but after playing with it for a couple of days I can't see what. One thing that did occur to me was to grep "openssl" in the output stream from ./configure and there is no reference until right at the end where it reports: " checking for openssl >= 1.0.2... no configure: error: Package requirements (openssl >= 1.0.2) were not met: No package 'openssl' found " All of the other "checking for..." entries seem to be either yes or I would expect the no answer that I get. The revised configuration file is: ./configure --prefix=/usr/php-8.1.5 --with-apxs2=/usr/apache-2.4.25/bin/apxs -- enable-fpm --with-fpm-user=phpfpm --with-fpm-group=phpfpm --with-fpm-systemd -- disable-short-tags --with-openssl=/usr/openssl-1.1.1n --with-openssl- dir=/usr/openssl-1.1.1n --with-zlib --with-pgsql=/usr/postgres-9.6.2 --with-pear --with-libxml=/usr/lib64 CFLAGS=" -I/usr/openssl-1.1.1n/include/openssl" OPENSSL_LIBS="-ldl -L/usr/openssl-1.1.1n/lib -l:libssl.a -l:libcrypto.a" Is there any requirement for a specific order of parameters? Basically I used the command from the previous successful install of php-7.2.9. I tried BOTH include and include/openssl for the include path and it doesn't seem to make any difference. The actual header files are on include/ssl. Regards, John ================== -------- Forwarded Message -------- From: Daniel Brown <danbrown@xxxxxxx> To: John Iliffe <john.iliffe@xxxxxxxxx> Cc: PHP Help <php-general@xxxxxxxxxxxxx> Subject: Re: Error configuring 8.1.5 installation Date: Wed, 20 Apr 2022 20:30:07 -0400 See if this is applicable and helps you out: http://php-news.ctrl-f5.net/message/php.internals/107632 On Wed, Apr 20, 2022 at 4:26 PM John Iliffe <john.iliffe@xxxxxxxxx> wrote: > > I am trying to upgrade a PHP 7.2.9 installation to PHP 8.1.5 and I'm getting an > error "No package openssl found". openssl-1.1.1n is installed in the non- > standard location /usr/openssl-1.1.1n/ to avoid conflict with other processes > running on this server. The suggestions I'm getting from the configure > programme suggest changing the environment which I am afraid to do since it > might crash something else that is already running on the server. > > The relevant info is: > > - download version of php-8.1.5 from the PHP server > > - newly installed openssl-1.1.1n on /usr/openssl-1.1.1n/ in the usual > subdirectories. (.../bin and .../lib) This has been tested and works properly. > The version of openssl in the system path is the old one, 1.1.0k so I do need to > override it. > > - O/S is Fedora 25 > > Configuration file that I am using: > > ./configure --prefix=/usr/php-8.1.5 --with-apxs2=/usr/apache-2.4.25/bin/apxs -- > enable-fpm --with-fpm-user=phpfpm --with-fpm-group=phpfpm --with-fpm-systemd -- > disable-short-tags --with-openssl=/usr/openssl-1.1.1n/ --with-zlib --with- > pgsql=/usr/postgres-9.6.2 --with-pear --with-libxml-dir=/usr/lib64 > > Any suggestions would be appreciated. > > John > ============