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.

Easyapache, PHP4.3.1 & Zend

Discussion in 'EasyApache' started by ZachICU, Mar 9, 2003.

  1. ZachICU

    ZachICU Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    130
    Likes Received:
    0
    Trophy Points:
    16
    Before I start placing blame I just want to verify something.

    1. The other day my WHM tells me my build is insecure and I need to run ./easyapache

    2. Running this updates my PHP to 4.3.1

    3. Zend Opt does not support 4.3.1 only 4.3.0

    Anyone verify this is correct?

    Thanks
    Zach
     
  2. iago

    iago Member

    Joined:
    Aug 26, 2002
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hello, thats correct. Zend will stop working because of the php version. Zend was suppose to release a patch to this. In the meantime you can do the following. I did it on my server and worked great.

    To get Zend Optimizer 2.1.0 to work with 4.3.1 you'll need to edit 1 files and rename (or symlink 1 directory)

    $ZENDINSTALL is the directory where you un-packed Zend Optimizer mine are
    (On Linux -
    ZendOptimizer-2.1.0-Linux_glibc21-i386 ,
    On Solaris - ZendOptimizer-2.1.0-Solaris-sparc)

    Part 1
    -------
    edit $ZENDINSTALL/zui_files/install.inc

    Search for this section
    -----------------------------
    $this->php_versions_array = array(
    1 => array("PHP 4.0.5/6", "4.0.6"),
    2 => array("PHP 4.1.x", "4.1.x"),
    3 => array("PHP 4.2.0", "4.2.0"),
    4 => array("PHP 4.2.x (other than 4.2.0)", "4.2.x"),
    5 => array("PHP 4.3.0", "4.3.0")
    );

    Change 4.3.0 to 4.3.1 in the array elemen 5
    So that line would look like this.
    5 => array("PHP 4.3.1", "4.3.1")

    Part 2

    Change directories to $ZENDINSTALL/data

    Symlink or Rename the directory

    4_3_0_comp to 4_3_1_comp

    ala

    mv 4_3_0_comp 4_3_1_comp (or ....)
    ln -s 4_3_0_comp 4_3_1_comp

    at this point you can now run
    $ZENDINSTALL/install
    and it should work fine....
    thanks to SecuMonger

    Regards
     
  3. Altco

    Altco Registered

    Joined:
    Mar 8, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Another option is to run

    ./instal.sh

    go through the options and when it asks you to verify 4.3.0 put cancel and manually put 4.3.1 and finish the installer. Remember to restart apache :)
     
Loading...

Share This Page