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.

Zend Optimiser Issues

Discussion in 'General Discussion' started by parkypoo22, Jan 17, 2006.

  1. parkypoo22

    parkypoo22 Active Member

    Joined:
    Nov 9, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Just installed zend optimiser on:

    CentOS 4 x86_64
    Cpane latest STABLE
    php 4.41
    apache 1.3.34


    Using the following method:

    ssh'd in as root

    wget http://downloads.zend.com/optimizer/...-x86_64.tar.gz

    untar
    install

    Ran fine.....

    PHP 4.4.1 (cli) (built: Jan 16 2006 22:03:26)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies


    However....

    Only seems to work from root and for none of the other users.

    Also tried the /scripts/installzendopti....
    To no avail.

    Where have i gone wrong?

    Thanks
     
  2. Tagor

    Tagor Well-Known Member

    Joined:
    Mar 6, 2004
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    16
    What do you mean with 'you can only run it as root user'?
     
  3. zinehost

    zinehost Member

    Joined:
    Jan 13, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Login WHM as root

    1) Update apache

    select php 4.3.11

    end run /scripts/installzendopt
     
  4. parkypoo22

    parkypoo22 Active Member

    Joined:
    Nov 9, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Downgraded to php 4.3.11
    Same issue still applies.


    Slight misunderstanding:

    when i php -v logged in as root i get:

    PHP 4.3.11 (cli) (built: Jan 17 2006 23:43:59)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies

    however... i then try to load a .php zend encoded page from an account held on the same server:

    "Zend Optimizer not installed"

    So... i ssh in as the account user and run php -v again:

    PHP 4.3.11 (cli) (built: Jan 17 2006 23:43:59)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    As you can see, no zend optimizer?!?!?

    Ulitimatly confused. :eek:
     
  5. parkypoo22

    parkypoo22 Active Member

    Joined:
    Nov 9, 2005
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    still unable to resolve issue, surely someone else must have had this?
     
  6. Tagor

    Tagor Well-Known Member

    Joined:
    Mar 6, 2004
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    16
    Create a .php file with the following in it:

    <?php
    phpinfo();
    ?>

    Then run it and search for the php.ini locating. Open the php.ini with pico/nano and look if you have the correct Zend Optmizer lines in your php.ini.
     
  7. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    I too have face problems in installing Zend on Php 4.4.1. Downgrade your php version to 4.3.10 using easyapache script and then install Zend using installzendopt script.
    Login to the server and execute the below commands as root :-
    /scripts/easyapache
    Select 7th option
    Select PHP version 4.3.10.
    Select 'Exit' and then say 'Yes' to save.
    Let the script execute completely and then restart httpd.
    service httpd stop
    service httpd start

    Now install Zend optimizer using the script
    /scripts/installzendopt

    It should install Zend for you. You can check using the url :- http://ServerIp/phpinfo.php
     
  8. eagland

    eagland Registered

    Joined:
    Jul 14, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Disabling versioning solved the problem for me (versioning is listed in the easy apache config screen). Optimiser now installs without any issues on my x86_64 machine. Hope that helps.

    PHP version 4.4.2
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
     
  9. areha

    areha Well-Known Member

    Joined:
    Oct 30, 2002
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, that solved it for me too! :)
     
Loading...

Share This Page