Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/scripts/installzendopt

Discussion in 'General Discussion' started by Jesepi, Jun 2, 2006.

  1. Jesepi

    Jesepi Member

    Joined:
    Sep 1, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    I am having problems installing the zend optimizer after updating my server to the following versions:

    Apache/1.3.36
    PHP 5.1.4
    MySQL 5.0.21-standard

    When I ssh in and type php -v I get the output:

    Code:
    (cli) (built: Jun  2 2006 10:56:12)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
    
    This also is reflected if I execute a php script with the phpinfo() call in it. At first, I just tried doing ./installzendopt without changing anything, but saw version 3 was giving some people problems, so I edited the line:

    Code:
    my $ver = '3.0.0';
    and changed it to

    Code:
    my $ver = '2.6.2';
    That did not help anything =/

    When I do a phpinfo() I get that the php config file is at /usr/local/Zend/etc/php.ini, and when I look in that file, at the bottom it has:

    Code:
    [Zend]
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
    zend_optimizer.version=2.6.2
    
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    
    There is also the following earlier in the file:

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;
    ; if you wish to have an extension loaded automaticly, use the
    ; following syntax:  extension=modulename.extension
    ; for example, on windows,
    ; extension=msql.dll
    ; or under UNIX,
    ; extension=msql.so
    ; Note that it should be the name of the module only, no directory information
    ; needs to go here.  Specify the location of the extension with the extension_dir directive above.
    
    ;zend_optimizer.optimization_level=15
    ;zend_extension="/usr/local/Zend/lib/ZendOptimizer.so"
    
    Should the last 2 items dealing with zend be uncommented?
     
  2. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    359
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Roswell, GA
    For what it's worth, version 3 has given me no problems, and 3.0.1 has been released, which may have fixed some problems others have been having.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jesepi

    Jesepi Member

    Joined:
    Sep 1, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    yeah, that didnt help =/
     
  4. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    359
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Roswell, GA
    Have you tried installing it manually?

    I'm not sure that Zend 2.6.2 supports PHP 5.1.x, I know Zend 3.0 does though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    166
    have you try recompile the apache with PHP and then reinstall the Zend ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Jesepi

    Jesepi Member

    Joined:
    Sep 1, 2004
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    cooldude7273,

    I have tried 2.6.2 up to 3.0.1

    tweakservers,

    yes, that has been done
     
  7. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    359
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Roswell, GA
    I took a look at my php.ini, and I found that we share the same settings found at the bottom:

    Code:
    [Zend]
    zend_extension = /ioncube/ioncube_loader_lin_5.1.so
    zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.0.1
    zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.0.1
    zend_optimizer.version=3.0.1
    
    
    zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
    zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
    But I couldn't find the other text you referenced in php.ini at all. :confused: I did find the Dynamic Extensions heading, but there was nothing about Zend under it, and what was there under it did have a ";" in front of it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice