Recompile PHP RPM with -DEAPI?
| From: | Myke Carter | Date: | Fri, 30 Mar 2001 16:05:39 +0000 |
| Subject: | Recompile PHP RPM with -DEAPI? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2636@lists.php.net to get a copy of this message | ||
Hello,
I'm having trouble getting my Red Hat Linux 6.2 / Apache 1.3.12 / PHP3 / MySQL
installation to function with SSL and VeriSign trial site ID certificates.
Once the certificate is in place I need to restart Apache, however, Apache will
not restart. Instead I receive the following error message:
--------------------------------------------------------------------
Starting httpsd with SSL
[Wed Feb 28 21:28:46 2001] [warn] Loaded DSO modules/libphp3.so uses
plain Apache 1.3 API, this module might crash under EAPI! (please
recompile it with -DEAPI)
[FAILED]
--------------------------------------------------------------------
I understand that this can be corrected when compiling from source, however, for
several reasons I need to know how to get past this problem using the the standard
RPMs provided by Red Hat.
In order to enable PHP3 to work with MySQL I had to modify the PHP source RPM, add
"--with-mysql", etc. to a config file, rebuild the binary from there and install.
A simple fix. I assume that this -DEAPI problem with PHP can also be corrected by
way of a similar modification to the PHP source followed by another rebuild. What
that modification is, however, I do not - and desperately need - to know.
Thanks,
Myke