zendserver 安装 ZendDebugger
网上都找不到支持PHP5.3及以上的Zend Debugger,然后下载了ZendStudio 10.1,发现它内置的PHP 5.3 和 5.4都支持Debugger,
[Zend]
zend_extension = "G:\servers\xampp\php\ext\ZendDebugger.dll"
zend_debugger.allow_hosts=127.0.0.1/32,192.168.3.0/24
zend_debugger.expose_remotely=always
;zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
如果5.3之上想用zend的话..就使用zenddebug
配置->php->DISABLED</b> Zend Debugger这个得禁用掉.算是一个bug吧
还有zend opcache要禁用掉
在zendserver 6.3,windows中无需任何设置直接可以使用 ,如果不行的话..就重启吧....
如果需要在控制台里输出的话.需要设置下面两个参数:
查找设置这两个参数:
output_buffering = Off
implicit_flush = On
linux下手动安装.. http://repos.zend.com/zend-server/6.3/rpm/x86_64/zend-server-php-5.5-common-6.3.0-17.x86_64.rpm lib里面也有debug.so还有其他很多的东西
Hey,
It works there ! :-)
What to do for ?
# Download the package « php-5.4-debugger-zend-server-5.6.0-14 »
Form me it's there :
http://repos.zend.com/zend-server/previ ... x86_64.rpm
# Extract ZendDebugger.so
In the archive, it's ./usr/local/zend/lib/debugger/php-5.4.x/ZendDebugger.so
# Copy it somewhere
Why not /usr/lib64/php/modules
# Extract debugger.ini
In the archive, it's ./usr/local/zend/etc/conf.d/debugger.ini
# Copy it into the PHP configuration files directory
For me it's in /etc/php.d/
# Correct the debugger.ini to point to ZendDebugger.so
Modify :
zend_extension_manager.dir.debugger=/usr/local/zend/lib/debugger
To :
zend_extension=/usr/lib64/php/modules/ZendDebugger.so
# Extract dummy.php
In the archive, it's ./var/www/html/dummy.php
# Copy it in the documentroot
Generally ./var/www/html/
I'm pretty sure you have to create symlinks for :
# libssl.so.0.9.8
For me that works :
ln -s /usr/lib64/libssl.so.10 /usr/lib64/libssl.so.0.9.8
# libcrypto.so.0.9.8
ln -s /usr/lib64/libcrypt.so /usr/lib64/libcrypto.so.0.9.8 这里没有写错...
To test this installation :
php -i | less
Quit and watch if there is a error message about libssl.so.0.9.8 or libcrypto.so.0.9.8.
Enjoy ! Now, I can install Fedora 17 ;)
Malo
再贴一份配置...
; register the extension to be loaded by Zend Extension Manager
zend_extension=/usr/lib64/php/modules/ZendDebugger.so
; Specifies the hosts that are allowed to connect (hostmask list) with Zend Debugger when running a remote debug session with Zend Studio
zend_debugger.allow_hosts=127.0.0.1/32,10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
; Specifies the hosts that are not allowed to connect (hostmask list) with the Zend Debugger when running a remote debug session with Zend Studio
zend_debugger.deny_hosts=
; A list of hosts (hostmask list) that can use the machine on which Zend Server is installed to create a communication tunnel for remote debgging with Zend Studio. This is done to solve firewall connectivity limitations
zend_debugger.allow_tunnel=
; The user ID of the httpd process that runs the Zend Debugger (only for tunneling)
zend_debugger.httpd_uid=-1
; A range of ports that the communication tunnel can use. This defines the minimum value for the range
zend_debugger.tunnel_min_port=1024
; A range of ports that the communication tunnel can use. This defines the maximum value for the range
zend_debugger.tunnel_max_port=65535
; Define which clients know that the Zend Debugger is installed:
; 0 - Never. The presence of the Zend Debugger is not detected by other clients
; 1 - Always. All clients can detect the Zend Debugger
; 2 - Allowed Hosts. Only clients listed in zend_debugger.allow_hosts can detect the Zend Debugger
; Any other value makes the Zend Debugger undetectable (same as "Never")
zend_debugger.expose_remotely=2
; The Debugger's timeout period (in seconds) to wait for a response from the client (Zend Studio) (units: seconds)
zend_debugger.passive_mode_timeout=20
; Enables fast time sampling which is dependent on CPU cycles and frequency, otherwise, the directive uses operating system timing (which may be less accurate)
zend_debugger.use_fast_timestamp=1
; Enable code-coverage feature, should only be true on local debugger
zend_debugger.enable_coverage=0
zendserver 安装 ZendDebugger的更多相关文章
- 安装ZendDebugger 调试php
一直懒得装断点调试工具,平时调试就用echo var_dump debug_print_backtrace 搞搞. 今天同事装了个xdebug,看着眼馋.于是想自己也装一个,由于平时用zend stu ...
- phpStudy 5.5n +zendstudio12.5+xDebugger的配置
1.之前一直安装zendDebugger都没装上去,用phpStudy版本转换器转到对应版本的ZendDebuger也没用,后来发现自己下载的zendstudio的php是5.5的,而且自带了zend ...
- 安装完zend server后,无法访问http://localhost:10081/ZendServer/的解决办法
安装完ZendServer后,默认会设置http://localhost:10081/ZendServer/为ZendServer的后台管理页面, 但对于ZendServer5.0.2(其它版本未知) ...
- zend studio 安装xdebug
XDebug安装 到http://xdebug.org/download.php选择自己需要的xdebug版本.然后按照下面的配置建立目录.并在php.ini加入这些内容.重启server 注意xde ...
- zend studio 安装后一体化配置
1.安装语言包http://www.eclipse.org/babel/downloads.php 11.0的时候仍然是junohttp://download.eclipse.org/technolo ...
- php: zend server 安装及相关配置
运行安装文件(ZendServer-CE-php-5.3.2-5.0.1-Windows_x86.exe)开始安装,选项请参照我的选择. 这里不做改动,维持默认选择即可 点击Browse按钮更改安装目 ...
- ubuntu zendDebugger.so 加载不上的问题
参考文章 http://blog.sina.com.cn/s/blog_6612d5810101dapf.html 装zenDdebugger是为了在eclipse中调试用!!!!!!!结果搞了半 ...
- windows上zend server安装 报The server encountered an internal error or misconfiguration and was unable to complete your request -解决方法 摘自网络
windows上zend server安装完成后报如下错误: Internal Server Error The server encountered an internal error or m ...
- Zend Server安装后首次运行就出现Internal Server Error的解决
无论是使用哪个版本的Zend Server来搭建PHP服务器,首次运行都会出现Internal Server Error的错误,对很多新手而言,每当看到这种错误时,那一刻内心绝对都是崩溃的.然而,这个 ...
随机推荐
- ↗☻【编写可维护的JavaScript #BOOK#】第4章 变量、函数和运算符
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8& ...
- 【原】android通过adb wireless的使用
开发android程序,总是需要插拔插拔的,usb口都给弄坏掉了,现在adb可以通过无线网,链接处在同一个局域网下面的android设备 1.将电脑和移动设备链接到同一个无线网下 2.在android ...
- C# 实例化顺序
static class Program { static void Main() { BaseB baseb = new BaseB(); baseb.MyFun(); Console.ReadKe ...
- (三)学习MVC之密码加密及用户登录
1.密码加密采用SHA256 算法,此类的唯一实现是 SHA256Managed.在Common/Text.cs里添加Sha256方法: public static string Sha256(str ...
- 【工具类】获取手机sim卡的运营商
加入权限:<uses-permission android:name="android.permission.READ_PHONE_STATE" /> package ...
- delphi 中使用WaitForMultipleObjects等待线程执行,再执行后续代码
unit1 [delphi] view plain copyunit Unit1; interface uses Windows, Messages, SysUtils, Variants, Clas ...
- POJ 1904 King's Quest 强连通分量+二分图增广判定
http://www.cnblogs.com/zxndgv/archive/2011/08/06/2129333.html 这位神说的很好 #include <iostream> #inc ...
- Poj 2081 Recaman's Sequence之解题报告
...
- [原创]一种简单的cocos2d-x动态更新方案
介绍一个曾经在cocos2d-x项目中使用过的动态更新方案,这个方案简单易行,针对小的项目非常有用. 这个方案有两个核心的关键词:JSON,MD5. 原理可以简单地概括为:服务端持有所有动态更新资源文 ...
- inline和宏之间的区别
1.内联函数在编译时展开,而宏在预编译时展开 2.在编译的时候,内联函数直接被嵌入到目标代码中去,而宏只是一个简单的文本替换. 3.内联函数可以进行诸如类型安全检查.语句是否正确等编译功能,宏不具有这 ...