Re: Apache start up error after compiling OpenSSL and PHP8.1.29

Frank Gingras <[email protected]>
Newsgroups gmane.comp.apache.user
Message-ID <CAOY50mtziLpaWPeS5xxb+wA4=TAgEXz04JcgcjsCErTnTgq3cQ@mail.gmail.com>
On Mon, Oct 14, 2024 at 6:48 AM Jack Swale <[email protected]>
wrote:

> httpd: Syntax error on line 150 of /usr/local/apache2/conf/httpd.conf:
> Cannot load modules/libphp.so into server: ld.so.1: httpd: fatal:
> relocation error: file /usr/local/apache2/modules/libphp.so: symbol
> EVP_md2: referenced symbol not found
>
>
>
> /usr/local/apache2/modules
>
> garnet(150) $ ldd libphp.so
>
>
>
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>
>         librt.so.1 =>    /usr/lib/librt.so.1
>
>         libldap-2.4.so.2 =>      /usr/local/lib/libldap-2.4.so.2
>
>         libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
>
>         libm.so.2 =>     /usr/lib/libm.so.2
>
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>
>         libpthread.so.1 =>       /usr/lib/libpthread.so.1
>
>         libssl.so.1.0.0 =>       /usr/local/ssl/lib/libssl.so.1.0.0
>
>         libcrypto.so.1.0.0 =>    /usr/local/ssl/lib/libcrypto.so.1.0.0
>
>         libz.so =>       /usr/local/lib/libz.so
>
>         libxml2.so.2 =>  /usr/local/lib/libxml2.so.2
>
>         libgcc_s.so.1 =>         /usr/local/gcc4/lib/libgcc_s.so.1
>
>         libc.so.1 =>     /usr/lib/libc.so.1
>
>         libaio.so.1 =>   /lib/libaio.so.1
>
>         libmd.so.1 =>    /lib/libmd.so.1
>
>         liblber-2.4.so.2 =>      /usr/local/lib/liblber-2.4.so.2
>
>         libgen.so.1 =>   /usr/lib/libgen.so.1
>
>         libsasl2.so.3 =>         /usr/local/lib/libsasl2.so.3
>
>         libmp.so.2 =>    /lib/libmp.so.2
>
>         libscf.so.1 =>   /lib/libscf.so.1
>
>         libdl.so.1 =>    /lib/libdl.so.1
>
>         libdoor.so.1 =>  /lib/libdoor.so.1
>
>         libuutil.so.1 =>         /lib/libuutil.so.1
>
>         /lib/libm/libm_hwcap1.so.2
>
>         /platform/sun4v/lib/libc_psr.so.1
>
>         /platform/sun4v/lib/libmd_psr.so.1
>
>
>
> garnet(220) $ strings libcrypto.so.1.0.0 | grep EVP
>
> EVP part of OpenSSL 1.0.2zi  1 Aug 2023
>
>
>

In most legacy systems with mod_php, I have seen the libphp5.so file, not
libphp.so.

Nevertheless, you should either stick to a supported configuration from
php.net, or even better, switching to php-fpm with proxy_fcgi.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.