在WAMP环境下搭建ZendDebugger php调试工具的方法_php技巧
东西不是新货,所以介绍就不做介绍了,下面主要是配置流程。
首先,下载ZendDebugger,下载链接:http://downloads.zend.com/pdt/server-debugger/,因为我是win系统,所以就找.zip结尾的就行了,我下的是ZendDebugger-5.2.14-cygwin_nt-i386.zip
然后解压,看到这些目录
那几个文件夹前面的数字,代表php的版本,我用的是5.2.6,所以就用5_2_x_comp,把这个文件夹里的ZendDebugger.dll复制到php目录下的ext文件夹里,然后打开php.ini(记住,wamp下的php.ini是用X:\wamp\bin\apache\apache2.2.8\bin\目录下的),在最下面增加以下几行代码:
[zend]
zend_extension_ts="D:\soft\wamp\bin\php\php5.2.6\ext\ZendDebugger.dll"
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
保存关闭,继续查看下载下来的ZendDebugger里的东西,找到dummy.php,把它复制到www目录下,这个目录在X:\wamp\www。
重启wamp,打开http://localhost/查看php是否加载的ZendDebugger扩展,像这样就代表安装正常
最后是要在调试器里配置ZendDebugger,这里我就不做具体讲解了,因为有人用ZendStudio,有人用EPP,众口难调,自己摸索吧。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to solve the system crash problem in Linux systems. With the development of technology, Linux operating system has become the first choice for many enterprises and individual users. However, just like other operating systems, Linux systems may also experience system freezes. System crash will not only lead to data loss, but also affect work progress and user experience. Therefore, it is very important to solve the system crash problem in Linux system. In this article, we will explore some methods and steps to solve this problem. 1. Hard inspection

PHP is a popular server-side language used for developing web applications. As a programmer, debugging and error handling are unavoidable. In this article, I will take you through how to debug and handle errors in PHP development. Turn on error reporting In PHP, error reporting is turned off by default. If we want to see errors in PHP code, we need to open error reporting manually. We can use the error reporting function error_reporting() to turn on or off PHP error reporting. example

Discover performance bottlenecks through the debugging tool of php-fpm. In recent years, PHP, as a widely used programming language, has become more and more popular among developers. However, as the project scale increases and service traffic increases, we can easily encounter performance bottlenecks. In this case, we need to use some debugging tools to find and solve these problems. This article will focus on the debugging tools of php-fpm to help us locate performance bottlenecks and illustrate them through actual code examples. 1. Introduction to php-fpm php-f

Vue3 is a popular JavaScript framework that is popular among many developers due to its ease of use and flexibility. For developers, debugging code is an indispensable task, and good debugging tools can help us get twice the result with half the effort. In Vue3, we can use some practical debugging tool functions to debug code more conveniently. This article will introduce some debugging tool functions in Vue3 to help you better debug your Vue3 code. $refs in Vue3, we can use $r

In modern web application development, debugging tools are indispensable. They help developers find and solve various problems with their applications. As a popular web application framework, the Yii framework naturally provides some debugging tools. This article will focus on the debugging tools in the Yii framework and discuss how they help us analyze and debug applications. GiiGii is a code generator for the Yii framework. It can automatically generate code for Yii applications, such as models, controllers, views, etc. Using Gii,

Python is a high-level programming language whose ease of use and popularity make it the language of choice for many programmers. Like other languages, Python also has some common types of errors, such as variable undefined errors. When we use an undefined variable in Python, the program throws an exception called "NameError". This kind of error usually occurs in the following situations: Spelling errors: It may be that the variable name is spelled incorrectly, resulting in an undefined variable. We need to check carefully.

Recommendations and suggestions for debugging tools to improve Java development efficiency. Debugging is an integral part of the Java development process. Good debugging tools can greatly improve development efficiency and help developers quickly locate and solve problems. This article will introduce some commonly used Java debugging tools and provide some suggestions to help developers choose appropriate tools and improve debugging efficiency. IntelliJIDEAIntelliJIDEA is a powerful integrated development environment with rich built-in debugging functions. it supports

JavaScript is a programming language widely used in web development. Its flexibility and ease of mastering make it very useful for developers. However, during the development process, errors in JavaScript may cause abnormal behavior of the code, affecting the user experience and application stability. Therefore, this article will introduce error handling techniques in JavaScript to help developers solve these problems. Try-Catch statement The Try-Catch statement is a commonly used
