For all those trying to compile PHP 4.2.x with Apache 2.0.39 !!!!!
| From: | Aaron Gould | Date: | Thu, 25 Jul 2002 19:49:32 +0000 |
| Subject: | For all those trying to compile PHP 4.2.x with Apache 2.0.39 !!!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109592@lists.php.net to get a copy of this message | ||
This will allow you to compile PHP 4.2.x as a shared object into Apache
2.0.39.
Credits to somebody on Google Groups (I can't recall, but I needed an answer
to this too a couple weeks back)...
1. Open up the file php_functions.c in /sapi/apache2filter/
2. Change MODULE_MAGIC_AT_LEAST to AP_MODULE_MAGIC_AT_LEAST (Note the
addition of "AP_")
3. Save the php_functions.c file and try running configure again
Keep in mind this is experimental and thus should not be used on production
web sites (even though we've been using Apache 2.0.39+PHP 4.2.1/4.2.2 for a
few weeks without issues on two of our servers).
--
Aaron Gould
agould@partscanada.com
Web Developer