The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compiling PHP with large file support

Discussion in 'General Discussion' started by vanessa, Aug 12, 2007.

  1. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I'm trying to compile php 5.2.3 with large file support, and basically used the following with the configure statement:


    CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ./configure --disable-cgi --enable-bcmath......

    The configure and installation complete without issue, but php still gives errors when attempting to handle files above its 2g limit. Has anyone tried compiling with LFS before, and if so, can you provide any insight on how to complete this successfully on a cPanel system?
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page