Debug debugging of XAMPP 1.7.4 Thread safety

Source: Internet
Author: User
Tags phpinfo zend zend server

Part excerpt from http://zhouhongquan.com/archives/2010/05/zend-debugger-and-php-5-3.html
recently used Xampp 1.7.4, originally in the debugging, the use of xdebug, when good and bad, very strange, because of xdebug compatibility issues, decided to use Zend Debug, the result of XAMPP The PHP version of 1.7.4 is 5.3.4 and thread Safety enabled, threads are secure, currently Zend debugger does not support the PHP 5.3 thread-safe version, and another post is as follows: PHP 5.3 and Zend DebuggerPublished by Hongquan in May, 10:47 PM | Links | Comments (0) | Trackbacks (0)

Since the use of PHP5.3, the problem is really much, since the last time a connection with MS SQL Server problem, this time in the installation of Zend debugger, there are problems. According to Zend's official Zend Debugger installation steps, download the latest version of the 5.2 studio Web Debugger from the extracted zenddebugger-v5.2-cygwin_nt-i386\5_3_x_nts_ Comp directory to copy ZendDebugger.dll to the PHP installation folder in the Ext directory, and then edit the php.ini file, at the end of the file to add three lines:

Zend_extension = "D:/php/ext/zenddebugger.dll"
zend_debugger.allow_hosts= 127.0.0.1
Zend_debugger.expose_remotely=always

The dummy.php file is then copied to the Apached "DocumentRoot" directory (set in the http.conf file), which is not phpinfo Zend on the page displayed with the Debugger () after restarting the Apache service, apparently, The installation did not succeed.

Go back and look carefully Zend installation steps introduced, found zend_extension this configuration has two, in addition to Zend_extension, there are set to Zend_extension_ts, Applicable to Non-thread-safe and Thread-safe versions of PHP, and I installed PHP is the Thread-safe version (through the Phpinfo () Page Thread safety option can be viewed), so you should use Zend_ Extension_ts, but I downloaded the studio Web Debugger for PHP version 5.3 with only the NTS version of ZendDebugger.dll (see -5_3_x_nts_comp from the folder name).

After a careful search, finally found the answer, in the Zend Forum, a Zend staff specifically replied: "There is no thread-safe for PHP 5.3 to release the corresponding Zend debugger plan", this post, Another Zend employee gave a more detailed explanation of why the user failed to install Zend debugger in the thread Safe version of PHP 5.3:

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

He advises users to install Zend server (PHP 5.3 is currently supported)-Zend server contains the non Thread Safe version of PHP.

RELATED links:

Zend Forum-A very detailed tutorial for installing Zend Debugger: Zend Forums View Topic-sticky Notes Setting up Zend

The latest Zend Debugger download list for different platforms

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.