Apache and mod_php4 problems
| From: | Yury Faktorovich | Date: | Wed, 18 Oct 2000 16:55:31 +0000 |
| Subject: | Apache and mod_php4 problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35442@lists.php.net to get a copy of this message | ||
Hi! I am having this problem:
If apache was compiled with -DLARGEFILE_SOURCE and
-D_FILE_OFFSET_BITS=64, mod_php4 doesn't work. Looks like stat structure
has different sizes in apache and mod_php4.c, as a result
php_xbihack_handler crashes, b'ze request_rec is garbage. Compiling
mod_php4 with the same flags doesn't seem to help. The fix is to move
struct stat finfo to the end of request_rec, but it seems to be a hack.
Does anybody have a better idea?
Thanks.