The reason why ZendDebugger of 5_3_x_nts_comp fails to be installed in PHP5.3 (ThreadSafety)

Source: Internet
Author: User
The reason why ZendDebugger of 5_3_x_nts_comp fails to be installed on PHP5.3 (ThreadSafety) is that many problems have occurred since PHP5.3 was used, this time, a problem occurred while installing ZendDebugger. According to the reason why the ZendDebugger of the 5_3_x_nts_comp version provided by Zend fails to be installed on PHP5.3 (Thread Safety)


Since PHP5.3 was used, there have been many problems. since the problem of connecting to ms SQL Server last time, this time there was another problem when Zend Debugger was installed. Follow the Zend Debugger installation steps officially provided by Zend, from? Here? Download the latest version of Studio Web Debugger 5.2, copy ZendDebugger from the decompressed ZendDebugger-v5.2-cygwin_nt-i386 \ 5_3_x_nts_comp directory. dll to the ext directory in the PHP installation folder, and then edit php. ini file, add the following three lines at the end of the file:

Zend_extension = "d:/php/ext/ZendDebugger. dll"
Zend_debugger.allow_hosts =? 127.0.0.1
Zend_debugger.expose_remotely = always

Then put dummy. copy the php file to the "DocumentRoot" directory of apached (in the http. in the conf file), you can restart the Apache service and use phpinfo () to display the page without Zend Debugger. Obviously, the installation is not successful.

Looking back at the installation steps of Zend, we found that zend_extension has two types of configuration: zend_extension and zend_extension_ts, this method is applicable to Non-Thread-Safe and Thread-Safe PHP versions, and the PHP version I installed is Thread-Safe (through phpinfo () the Thread Safety option on the page can be viewed). Therefore, zend_extension_ts should be used. However, the Studio Web Debugger I downloaded only has ZendDebugger for php 5.3 of the default version. dll (the folder name shows-5_3_x_nts_comp ).

After a thorough search, I finally found the answer. in the Zend Forum, a Zend employee explicitly replied: "No Zend Debugger plan has been released for Thread-Safe PHP 5.3", this post? Another Zend employee explained in detail the reason why the user failed to install Zend Debugger in Thread Safe PHP 5.3:

? Zend stopped supporting the thread safe architecture when Microsoft also decided to implement its PHP engine with the fast-cgi architecture which means non-thread-safe.

He suggested that you install Zend Server (PHP 5.3 is currently supported )--? Zend Server contains Non-Thread Safe PHP.

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.