Re: Compiling PHP 4.3.3 with large file support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jon wrote:
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?


You did not mention your apache version and php setup (mod_php vs. cgi)
IMHO if you are using mod_php, both apache and php must be compiled with the same _FILE_OFFSET_BITS or you get segmen. fault. LFS is available on for apache 2.X only. CGI should not be affected as it's another process.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux