Compiling PHP 4.3.3 with large file support
| From: | Jon | Date: | Thu, 27 Jan 2005 05:26:49 +0000 |
| Subject: | Compiling PHP 4.3.3 with large file support | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207446@lists.php.net to get a copy of this message | ||
I'm running Fedora Core 1, all packages up to date. I want to add large
file support to php. I downloaded the source rpm. Added
"-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to CFLAGS in the spec file,
rebuilt the rpm and installed it. Apache starts fine but I get
"[notice] child pid XXXX exit signal Segmentation fault (11)" when ever
I request a page. Compiling the same source without those flags works
fine. I must be missing something, but I am in way over my head. Can
someone tell me what I am doing wrong?
Thanks,
Jon