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.

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:
    1
    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.
     
  2. Brownie

    Brownie Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    16
    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) :)
     
Loading...

Share This Page