Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    130

    Default Easyapache, PHP4.3.1 & Zend

    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. #2
    Member
    Join Date
    Aug 2002
    Posts
    16

    Default

    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. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Default

    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

Similar Threads & Tags
Similar threads

  1. EasyApache & Zend Optimizer
    By oshs in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-19-2010, 05:41 PM
  2. wrong version of zend installed when using php4.4.x
    By kphelps in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-15-2008, 09:46 AM
  3. php4 and Zend - issue with include()
    By EWD in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-09-2007, 11:32 PM
  4. php4.4.4 Zend 3 & Apache problem
    By chae in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-04-2006, 11:42 AM
  5. Configure php4 & php5 with easyapache?
    By Anthony-mmbcom in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-22-2005, 09:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube