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.

recompiling PHP

Discussion in 'General Discussion' started by ceejayoz, Jul 11, 2002.

  1. ceejayoz

    ceejayoz Member

    Joined:
    Jun 24, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi folks... maybe I'm an idiot, but I can't find the ./configure script for PHP.

    I need to add --enable-exif to the PHP config.

    Thanks,
    --CJ
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    R U talking about php in general? Or php inside of cpanel's build apache?

    If you are on a cpanel machine it would be in your best interest to just use the build script at layer1.cpanel.net as it fine tunes everything for the cpanel software.
     
  3. ceejayoz

    ceejayoz Member

    Joined:
    Jun 24, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I'm on a cpanel machine, yes. The build scripts don't appear to allow me to allow me to add my own configuration options to the PHP compile configuration, though.
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Yea, you can definitely to this-
    if you unpack the archive to /buildapache, go within there, and then you'll have the php source and all the trimmings (including the php master build script) to edit however you please.
     
  5. ceejayoz

    ceejayoz Member

    Joined:
    Jun 24, 2002
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, that makes my life a whole lot easier ;)
     
  6. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    run buildapache.sea once it asks you for beginner or basic control + C out. Then cd into buildapache. In that dir their will be a file called buildscript. Edit that file and add the --with-blah then run ./buildscript
     
Loading...

Share This Page