search
HomeBackend DevelopmentPHP TutorialTurn on the remote debugging function of the PHP 5.2.x environment in ZendStudio_PHP Tutorial

In the past, whenever a new version of ZendStudio was released, a new version of the ZendStudioServer component would be released at the same time. This component allows us to easily conduct remote debugging. But since Zend released ZendPlatform they no longer update the ZendStudioServer component. This means that we can only remotely debug the PHP 5.1.x environment, but not PHP 5.2.x. To debug PHP 5.2.x you can only install a huge ZendPlatform. :(

So I've been looking for a "lightweight" solution. Recently, I found a good thing when browsing Zend.com: ZendDebugger-5.2.3-Windows-i386.zip. My intuition told me that this is what I want. Sure enough, today’s test was successful!

Let me talk about my test steps below:

Go here to download ZendDebugger-5.2.3-Windows-i386.zip, and then unzip it to a certain directory, such as: C:Program Files end. This will create a new ZendDebugger-5.2.3 in the directory. -Windows-i386 subdirectory, which contains 4_3_x_comp, 4_4_x_comp, 5_2_x_comp and other directories. Change these x_y_z_comp to php-x.y.z respectively (for example, change the directory 5_2_x_comp to php-5.2.x);
Make sure the Zend Extension Manager is loaded , if Zend Optimizer is installed, Zend Extension Manager will be installed automatically. If it is not installed, please install Zend Optimizer first. Or you can extract ZendExtensionManager.dll from Zend Optimizer, and then manually add a line in php.ini:
zend_extension_ts=”C:Program Files end endOptimizer endExtensionManager.dll”
where ZendExtensionManager.dll Please fill in the location according to your actual situation;
Add the following lines in the php.ini of the Web Server:
zend_extension_manager.debug_server_ts=”C:Program Files end endDebugger-5.2.3-Windows-i386″
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.0/24,192.168.1.0/24
zend_debugger.allow_tunnel=127.0.0.1/32

Please fill in the value of zend_extension_manager.debug_server_ts according to your actual situation, which is the parent directory of php-x.y.z.

Copy dummy.php in the ZendDebugger-5.2.3-Windows-i386 directory to the root directory of your website.

Restart your Web Server, OK!

A brief summary: Zend Studio’s remote debugging is provided by the ZendStudioServer component (ZendDebuger.dll). Essentially this is a Zend extension, so you just need to enable this Zend extension. It’s just that the Zend extension produced by Zend Company can only be loaded by the Zend Extension Manager, so we need to do some extra steps, otherwise we only need to simply add a line zend_extension_ts = xxxxxx.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508219.htmlTechArticleIn the past, whenever a new version of ZendStudio was released, a new version of the ZendStudioServer component would be released at the same time. This component allows us to Very convenient for remote debugging. But since...
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
win11内存完整性要不要开win11内存完整性要不要开Jan 06, 2024 am 08:53 AM

win11和win10一样,为了保护系统推出了内存完整性功能,但是很多朋友不知道这个功能有什么用,那么win11内存完整性要不要开呢,其实这与电脑系统有关系。win11内存完整性要不要开:答:如果电脑配置高,或者只是日常办公影音可以开;如果我们的电脑配置较差,或者追求高性能的话不要开。win11内存完整性相关介绍:1、内存完整性原理是硬件虚拟化创建隔离的环境。2、它保护好我们的系统,保护内存安全。3、缺点是,开启该功能后会随时运行,占用内存,降低性能。4、而且一旦开启,关闭起来也会比较麻烦,一定

如何启用Win11的VBS功能如何启用Win11的VBS功能Dec 25, 2023 pm 02:09 PM

要是之前将vbs关闭之后想要开启了,也是可以开启的,我们可以使用命令代码将其开启,下面一起来看看如何开启vbs吧,其实还是很简单的。win11vbs如何开启:1、首先我们点击“开始菜单”。2、然后点击“windows终端”。3、接着输入“bcdedit/sethypervisorlaunchtypeauto”。4、然后重启电脑,打开开始菜单,在搜索栏中搜索“系统信息”。5、然后找打“基于虚拟化的安全性”是否开启即可。

Win7如何开启vt虚拟化Win7如何开启vt虚拟化Jun 29, 2023 pm 02:47 PM

  Win7如何开启vt虚拟化?有用户因为在自己的电脑上使用了手机模拟器,但是在运行软件的时候,提示我们的电脑没有开启vt虚拟化功能。那么我们怎么去主板中开启这个功能,很多小伙伴不知道怎么详细操作,小编下面整理了win7系统在主板开启vt虚拟化功能教学,如果你感兴趣的话,跟着小编一起往下看看吧!  win7系统在主板开启vt虚拟化功能教学  1、首先我们重启电脑,使用热键进入bios设置。  2、点击右下角的AdvancedMode。  3、在高级选项中选择CPU设置。  4、然后找到下方的VT

CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

win10如何开启电脑摄像头权限的介绍win10如何开启电脑摄像头权限的介绍Jul 11, 2023 am 11:57 AM

在win10系统中,很多用户会跟好朋友或家人视频聊天,或者要拍照的时候就会用到摄像头功能,可是一些win10系统用户却发现电脑无法打开摄像头提示无权限,这样就无法视频聊天了,该怎么处理呢,随小编一起来看看具体的解决方案。1、首先查看一下相机权限有没有开启。“win+i”快捷键打开设置窗口,这时候我们就可以看到隐私下方的相机了,点击它。2、左侧栏找到相机,右侧我们就可以看到此设备的相机的访问权限已关闭,点击更改。3、选择开启即可,下面就可以打开摄像头啦。以上就是win10开启电脑摄像头权限的详细操

win10如何启用以太网禁用:详细步骤win10如何启用以太网禁用:详细步骤Jan 03, 2024 pm 09:51 PM

经常有使用win10系统的小伙伴问以太网禁用怎么开启,其实这个操作非常的简单,需要去进入网络的设置中才可以进行,接下来小编带大家一起来看看吧。win10以太网禁用怎么开启:1、首先点击右下角的网络连接图标,打开网络和Internet设置。2、然后去点击以太网。3、之后点击“更改适配器选项”。4、此时可以右击“以太网”,选择禁用就可以了。

如何在Windows 10中启用麦克风权限如何在Windows 10中启用麦克风权限Jan 02, 2024 pm 11:17 PM

最近很小伙伴发现电脑麦克风打不开,而现如今无论是台式电脑还是笔记本电脑都会带有麦克风的功能,这也为我们提供了大大的方便,但有很多的朋友在使用的过程中会突然发现自己的电脑麦克风没有了声音,下面小编就来教给大家电脑麦克风打开该怎么解决。具体的一起来看看吧。win10麦克风权限在开启的方法1、在Windows10系统下打开录音机时,弹出“您需要在设置中设置麦克风”的提示。2、这时我们可以点击屏幕左下角的开始按钮,在弹出的菜单中选择“设置”菜单项。3、在打开的Windows设置窗口中点击“隐私”图标。4

开启Win11的休眠模式的方法开启Win11的休眠模式的方法Jan 08, 2024 pm 02:45 PM

当我们要长时间离开电脑,但是又不想关机的时候,就可以让电脑进入休眠模式,不过在更新win11后,我们找不到win11休眠模式怎么开启了,其实只要在控制面板里打开即可。win11休眠模式怎么开启方法一:使用开始菜单点击底部开始菜单,接着点击电源按钮,在其中就能休眠了。方法二:运用高级用户菜单1、在桌上面的搜索框中搜索并打开“控制面板”,点开“硬件和声音”选项,点击电源选项下的“更改电源按钮的功能”。2、进入后,点击“更改当前不可用的设置”,、最后勾选“休眠”,并保存就能执行休眠功能了。方法三:指令

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.