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 compile failed

Discussion in 'General Discussion' started by iko, Mar 10, 2004.

  1. iko

    iko Well-Known Member
    PartnerNOC

    Joined:
    Jan 29, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    I used /scripts/easyapache and chosed php 4.3.4 to be compiled but the script compiled 4.3.3 although I saw that the script downloaded php 4.3.4. I am using FreeBSD 4.9. Does anybody have any idea what is wrong ?
     
  2. ddeans

    ddeans Well-Known Member

    Joined:
    Feb 13, 2004
    Messages:
    296
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Maryland
    Yeah i had the same problem, but I am using Linux..
     
  3. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Weird. I tried to upgrade from 4.3.3 to 4.3.4 from WHM twice but it still gave 4.3.3. But after doing it using /scripts/easyapache (and selected 4.3.4), it works.
     
  4. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi iko,

    FreeBSD does not include any version of PHP by default, and so is not vulnerable. If you want to upgrade your PHP version, follow these steps,

    (1) Download the PHP version you need.
    (2) compile it with the configure command you have in your
    old php version, which can be known from phpinfo.php
    file.
    (3) Proceed the steps found in your INSTALL file.
    (4) Restart Apache
    (5) Create on phpinfo.php file like this
    <?php
    phpinfo();
    ?>
    Call this file in your browser and it will give you the correct version of PHP and the modules installed.

    Regards,

    Bright:)
     
Loading...

Share This Page