Solution to compatibility problem between Optimizer and Debugger

Source: Internet
Author: User
Many online voices say that Optimizer conflicts with Debugger and cannot be enabled at the same time. Actually, they are both Zend extension plug-ins that can be used for separate installation. however, to install them simultaneously, you must use a manager ZendExtensionManager. dll -- Zend extension plug-in manager.
Zend extension plug-in manager installation tutorial:
1. install Zend Optimizer 3.3.0a: http://www.bitsCN.com/softs/9305.html
In this way, Zend Extension Manager v1.2.0 is installed and Zend Optimizer 3.3.0a is inserted.
Zend Extension Manager principle:
1. open php. ini and find
[Zend]
Zend_extension_ts = "e: \ Zend \ ZendOptimizer-3.3.0 \ lib \ ZendExtensionManager. dll"
Zend_extension_manager.optimizer_ts = "e: \ Zend \ ZendOptimizer-3.3.0 \ lib \ Optimizer-3.3.0"
Let me explain:
When you only install Optimizer or Debugger, zend_extension_ts directly points to the dll of Optimizer or Debugger. now this directs to ZendExtensionManager.
The principle of ZendExtensionManager is to first find the folder zend_extension_manager.optimizer_ts points
Go to the php-5.2.x folder and read ZendOptimizer. dll under the folder.
So the path structure is E: \ ...... \ Optimizer-3.3.0 \ php-5.2.x \ ZendOptimizer. dll
But in zend_extension_manager.optimizer_ts, fill in the parent directory of the php-5.2.x
Plug in Zend Debugger:
2. it's much easier to understand the principle.
Zend Debugger 5.2.10: http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.10-cygwin_nt-i386.tar.gz
Put the decompressed 5_2_x_comp \ ZendDebugger. dll in the following path:
E: \ Zend \ ZendDebugger-5.2.10 \ php-5.2.x \ ZendDebugger. dll
Do not forget to change 5_2_x_comp into a php-5.2.x, I made this low-level error
Add
Zend_extension_manager.debug_server_ts = "e: \ Zend \ ZendDebugger-5.2.10"
Zend_debugger.expose_remotely = allowed_hosts
Zend_debugger.allow_hosts = 127.0.0.1/32,127.0 .0.1/24
Put dummy. php in the root directory of the website.
Restart apache, OK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.