在php中集成xdebug(windows平台)
首先到http://xdebug.org/download.php上面去下载xdebug,如果不知道下载哪一个,那么到http://xdebug.org/wizard.php上面,将你跑PHPinfo时显示出来网页的源代码,copy到上面网址显示出来的文本框中,点击“analyse my phpinfo() output”按钮,即可以输出来你系统上面装的php的信息,比如我的显示出来的是这样
SummaryInstructions
|
zend_extension="D:\php\ext\php_xdebug.dll" xdebug.profiler_output_dir="D:\php53\xdebug" xdebug.profiler_enable=On xdebug.profiler_enable_trigger=1 xdebug.default_enable=On xdebug.show_exception_trace=On xdebug.show_local_vars=1 xdebug.max_nesting_level=50 xdebug.var_display_max_depth=6 xdebug.dump_once=On xdebug.dump_globals=On xdebug.dump_undefined=On xdebug.dump.REQUEST=* xdebug.dump.SERVER=REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT xdebug.trace_output_dir="D:\php53\xdebug" |
xdebug.default_enable 类型:布尔型 默认值:On 如果这项设置为On,堆栈跟踪将被默认的显示在错误事件中。你可以通过在代码中使用xdebug_disable()来禁止堆叠跟踪的显示。因为这是xdebug基本功能之一,将这项参数设置为On是比较明智的。 xdebug.max_nesting_level 类型:整型 默认值:100 The value of this setting is the maximum level of nested functions that are allowed before the script will be aborted. 限制无限递归的访问深度。这项参数设置的值是脚本失败前所允许的嵌套程序的最大访问深度。 xdebug.dump_globals 类型:布尔型 默认值:1 限制是否显示被xdebug.dump.*设置定义的超全局变量的值 例如,xdebug.dump.SERVER = REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT 将打印 PHP 超全局变量 $_SERVER['REQUEST_METHOD']、$_SERVER['REQUEST_URI'] 和 $_SERVER['HTTP_USER_AGENT']。 xdebug.dump_once 类型:布尔型 默认值:1 限制是否超全局变量的值应该转储在所有出错环境(设置为Off时)或仅仅在开始的地方(设置为On时) xdebug.dump_undefined 类型:布尔型 默认值:0 如果你想从超全局变量中转储未定义的值,你应该把这个参数设置成On,否则就设置成Off xdebug.show_exception_trace 类型:整型 默认值:0 当这个参数被设置为1时,即使捕捉到异常,xdebug仍将强制执行异常跟踪当一个异常出现时。 xdebug.show_local_vars 类型:整型 默认值:0 当这个参数被设置为不等于0时,xdebug在错环境中所产生的堆栈转储还将显示所有局部变量,包括尚未初始化的变量在最上面。要注意的是这将产生大量的信息,也因此默认情况下是关闭的。 xdebug.profiler_append 类型:整型 默认值:0 当这个参数被设置为1时,文件将不会被追加当一个新的需求到一个相同的文件时(依靠xdebug.profiler_output_name的设置)。相反的设置的话,文件将被附加成一个新文件。 xdebug.profiler_enable 类型:整型 默认值:0 开放xdebug文件的权限,就是在文件输出目录中创建文件。那些文件可以通过KCacheGrind来阅读来展现你的数据。这个设置不能通过在你的脚本中调用ini_set()来设置。 xdebug.profiler_output_dir 类型:字符串 默认值:/tmp 这个文件是profiler文件输出写入的,确信PHP用户对这个目录有写入的权限。这个设置不能通过在你的脚本中调用ini_set()来设置。 xdebug.profiler_output_name 类型:字符串 默认值:cachegrind.out%p 这个设置决定了转储跟踪写入的文件的名称。 远程Debug 相关参数设置 xdebug.remote_autostart 类型:布尔型 默认值:0 一般来说,你需要使用明确的HTTP GET/POST变量来开启远程debug。而当这个参数设置为On,xdebug将经常试图去开启一个远程debug session并试图去连接客户端,即使GET/POST/COOKIE变量不是当前的。 xdebug.remote_enable 类型:布尔型 默认值:0 这个开关控制xdebug是否应该试着去连接一个按照xdebug.remote_host和xdebug.remote_port来设置监听主机和端口的debug客户端。 xdebug.remote_host 类型:字符串 默认值:localhost 选择debug客户端正在运行的主机,你不仅可以使用主机名还可以使用IP地址 xdebug.remote_port 类型:整型 默认值:9000 这个端口是xdebug试着去连接远程主机的。9000是一般客户端和被绑定的debug客户端默认的端口。许多客户端都使用这个端口数字,最好不要去修改这个设置。 |
[Zend] zend_extension_manager.optimizer_ts="path\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0" zend_extension_ts="path\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll" |

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

gzh refers to the WeChat public account platform, which is a self-media platform launched by Tencent along with WeChat; users can use the public account platform to conduct self-media activities, which is simply to conduct one-to-many media activities. For example, merchants can apply for public WeChat Through secondary development, service accounts display merchants’ micro-official websites, micro-memberships, micro-push, micro-payment, micro-activities, micro-registration, micro-sharing, micro-business cards, etc., which has formed a mainstream online and offline WeChat interactive marketing method.

Shopping platforms that support WeChat payment include: 1. JD.com, a comprehensive online retailer in China; 2. Vipshop, an Internet company that sells branded discounted goods online; 3. Pinduoduo, a leader in new social e-commerce. A shopping platform that better understands consumers; 4. Jingxi, a lifestyle shopping mall under JD.com; 5. Mogujie, an e-commerce website; 6. Jumei Youpin, a fashion shopping website mainly selling cosmetics; 7. , Weidian is a cloud promotion e-commerce platform; 8. Kaola Overseas Shopping is a membership e-commerce platform focusing on cross-border overseas shopping business.

In Pinduoduo, the black label refers to the black "brand" logo, which is a kind of certification. Only stores that exceed a certain sales volume and are actually authorized brands can open it; in other words, the black label represents quality and credibility. , trustworthy and high-selling brands, brands with black labels will have certain advantages in Pinduoduo’s promotion and sales.

Zhuanzhuan is a second-hand idle trading platform jointly invested by Tencent and 58 Group. Second-hand trading categories cover more than 30 types of mobile phones, books, 3C digital, clothing, shoes and hats, maternal and child products, furniture and home appliances. Zhuanzhuan is committed to creating standardized services, pioneering second-hand mobile phone inspection and warranty services, and providing users with reliable and convenient second-hand transactions.

With the advancement of communication technology, telephone contact has become more and more common in our daily lives. However, sometimes we may try to call a number only to find that the number is no longer reachable. In order to save time and energy, many people start looking for empty number verification services to confirm the validity of the number. This service can help users quickly check whether a number is valid and avoid unnecessary trouble. 1. What are the empty account detection platforms? Users can check the status of the number, including whether it is empty, by dialing the corresponding inquiry number or visiting the official website through the official inquiry service provided by the operator. This service is provided by many operators to facilitate users to quickly understand the usage of the number. Online empty number detection platforms are now emerging in an endless stream on the market. These platforms provide quick and convenient

Xiaomi Youpin is the official product of Xiaomi. Xiaomi Youpin is a new lifestyle e-commerce company under Xiaomi, and is committed to becoming the preferred high-quality e-commerce platform for the new middle class. It relies on Xiaomi's ecological chain system and uses the Xiaomi model to produce consumer goods. It currently covers home furnishings, daily necessities, home appliances, clothing, Laundry care and other major daily consumer products. Youpin insists on selecting and cultivating products in accordance with Xiaomi's product concept, providing users with good products with high quality, good appearance, and sense of technology, and providing full-scenario solutions for life.

Wo Wallet is a third-party payment platform. It is an open platform that integrates multiple scenarios and industries such as payment, life services, government services, and financial information services. In addition to providing convenient basic functions such as payment, transfer, and collection, it also It can quickly complete life services such as recharging phone bills, paying water, electricity and gas bills, paying credit cards, ordering takeout, shopping in malls, buying train/car/air tickets, and movie tickets.

Advanced on-demand was first started by the "Tencent" platform. The advanced on-demand mode is a value-added service launched by video websites. After paying on the basis of membership, you can unlock the content of the series in advance; in 2019, Tencent's self-made "Chen Qing Ling" was launched. Due to the original work, subject matter, actors and other reasons, It is completely popular, and Tencent has also pioneered advanced on-demand viewing. If users want to watch the finale in advance, they still need to pay separately on the basis of VIP, and they must unlock each episode.
