note 15570 deleted from install.apache by imajes
| From: | imajes@php.net | Date: | Sun, 07 Apr 2002 11:52:33 +0000 |
| Subject: | note 15570 deleted from install.apache by imajes | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28870@lists.php.net to get a copy of this message | ||
After installing PHP/4.0.6 with Apache/1.3.20, mod_ssl/2.8.4 and OpenSSL/0.9.6a on Solaris 2.7, when
restarting Apache I got the message:
"Loaded DSO libexec/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI!
(please recompile it with -DEAPI)"
I solved this by adding -DEAPI to CPPFLAGS for configure. Here is my complete configure command:
CPPFLAGS="-I/www/openssl/include/openssl -DEAPI" \
LDFLAGS=-L/www/openssl/include/openssl \
./configure --with-apxs=/www/apache_1.3.20/bin/apxs \
--with-jpeg-dir=/usr/local \
--with-tiff-dir=/usr/local \
--with-openssl=/www/openssl \ --with-zlib-dir=/usr/local \
--enable-ftp \
--with-imap=/usr/local \
--with-mcrypt=/usr/local \ --with-ldap=/usr/local \
--with-java=/usr/java1.2 \
--with-javac=/usr/java1.2/bin/javac \
--with-mysql=/www/mysql \ --with-xpm-dir=/usr/local \
--with-pdflib=/usr/local \
--with-png-dir=/usr/local \ --with-gd=/opt/gd-1.8.1 \
--with-config-file-path=/www/apache_1.3.20