Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7RSS

6 replies

Last post Sep 01, 2011 03:31 AM by HCamper

  • Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Nov 08, 2010 08:37 PM|sunnygoel|LINK

    Does anybody know how to get Zend Optimizer to run on Windows 2008 Server R2  x64 with IIS 7.  I downloaded PHP from this site and it installed 5.2.14 version. I have tried to download Zend Optimizer free version. Once installed, keep getting error that it is not running. I even tried to download Zend Server for 5.2xx PHP and that didn't allow the optimizer to work. Gives a http 500 error when I try to run the page that Needs Zend to be decoded.

     I have searched throughout the Internet and can't find a way to get this to work. Does anybody have any help at all? Much Appreciated!

     - Sunny

     

    zend Zend optimizer

  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Nov 09, 2010 07:52 AM|lextm|LINK

    Who develops that should provide you the correct answer, so why not ask Zend guys? http://www.zend.com/en/support-center/support/
    Lex Li
    IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Nov 09, 2010 08:04 PM|brashquido|LINK

    Is Zend showing as loaded when runing phpinfo? It's been a few moons since I've used the Zend Optimizer, however I don't remember it requiring much more than an additional line to php.ini and an IIS app pool recycle to get it working.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    IIS Aid
    IIS and Open Source
  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Nov 10, 2010 09:58 AM|pvieiradps|LINK

     I'm having the same problem. ZEND Optimizer does not work with PHP 5.3

    http://www.zend.com/en/products/guard/system-requirements

    So far I found out that Zend needs PHP Thread Safe. So it is needed to install the TS version of PHP. Notice that i was only able to put the TS version to work with ISAPI, not with FastCGI. Also the pool must be 32 bit enabled.

    Currently i'm trying to put it to work with PHP 5.2, but i need it with PHP 5.3

     

    I also tried with other loaders which work with php 5.3.x

    SOURCE GUARDIAN - http://www.sourceguardian.com/ixeds/how_to_install_ixed.html

    IONCUBELOADER - http://www.ioncube.com/loaders.php

    They all show up in the phpinfo but are unable to load the page.

  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Nov 18, 2010 12:18 AM|brashquido|LINK

    Sounds like it is definately more than just a a configuration issue in that case. I'd agree with Lex in that you'll really need to go back to the vendor for support on this issue.

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    IIS Aid
    IIS and Open Source
  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Aug 30, 2011 02:30 PM|GridSouth|LINK

    We had the same issue. The link here has more details. We have installed successfully on Windows 2008 R2.

    Basically, the wincache extension is not compatible with the Zend Guard runtime.

    So, what we did to get it working correctly:

     Install the base PHP and the MySQL Drivers using the Web Platform Installer
    1. Download the ZendGuard Runtime (NOT Zend Optimizer as this only works with PHP 5.2 and earlier)
    2. Unzip the file and place the ZendLoader.dll in your PHP Extensions folder (The default path is C:\Program Files (x86)\PHP\v5.3\ext)
    3. Download the Ioncube Loaders from here.Be sure to get the loader labelled "Windows VC9 (Non-TS) (x86)" as this is the install that the Web Platform Installer uses. Click for a direct download of the Zip file.
    4. Unzip the file and place the ioncube_loader_win_5.3.dll in the PHP Extensions folder as you did for the ZendGuard run time DLL.
    5. Use the PHP Manager to make sure the php_wincache.dll is DISABLED. If you did not install is using the Web Platform Installer, it should not be listed at all.
    6. Manually edit the php.ini file and add the following lines to the very bottom of the file:

      [Ioncube Loader]
      zend_extension = "C:\Program Files (x86)\PHP\v5.3\ext\ioncube_loader_win_5.3.dll"

      [ZendGuard]
      zend_extension="C:\Program Files (x86)\PHP\v5.3\ext\ZendLoader.dll"
      zend_loader.enable=1
      ;zend_loader.disable_licensing=0
      ;zend_loader.obfuscation_level_support=1

      NOTE: The path should be the path to the php/ext folder on your server! The order of these lines is important. Don't change them.

    7. Restart IIS.
    8. Test in the PHP Manger by running the "Check phpinfo() option. If successful, you will see the following in the box above the PHP Credits Line:

      This program makes use of the Zend Scripting Language Engine:
      Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
      with the ionCube PHP Loader v4.0.10, Copyright (c) 2002-2011, by ionCube Ltd., and   <----- Shows Ioncube loaded
      with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies  <---- Shows ZendGuard loaded.

    PHP scripts encoded to work with Zend Optimizer may need to be recompiled by the author using the ZendGuard tools.

    Hope this helps

  • Re: Need HELP with ZEND OPTIMIZER on 2008 r2 x64 IIS7

    Sep 01, 2011 03:31 AM|HCamper|LINK

    Hi,

    Thanks for sharing the information.

    The updated information should help the users Searching for Help.

    Martin

     

    Windows and Linux work Together IT-Pros
    Community Member Award 2011