Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    829
    Likes Received:
    26
    Trophy Points:
    178
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    26
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice