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!

PHP in /usr/local AND /usr ?

Discussion in 'General Discussion' started by pixel, Jun 24, 2002.

  1. pixel

    pixel Member

    Joined:
    May 30, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    301
    Hello,

    Recently, I decide to upgrade apache to the last version from Cpanel.

    I launch the scipt buildapache and after that, I look in the buildscipt... and in the PHP section I see PHP is compiled 2x, one standards and one with /usr in the prefix.

    Why this ?

    Regards, Nicolas

    PS: additionaly, I have many problems with mod_perl in this update but the problem was solved when I copy all perl module in the standard location.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    316
    PHP compiles twice because the first time it compiles as mod_php (./configure --with-apxs=/usr/local/apache/bin/apxs) and as the CGI version of php (./configure --prefix=/usr) :)
     
    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