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的错误,对很多新手而言,每当看到这种错误时,那一刻内心绝对都是崩溃的.然而,这个 ...
随机推荐
- Samba 安全漏洞
漏洞名称: Samba 安全漏洞 CNNVD编号: CNNVD-201403-239 发布时间: 2014-03-17 更新时间: 2014-03-17 危害等级: 中危 漏洞类型: 信任管理 威 ...
- CDN-内容推送网络
前段时间介绍了浏览器缓存机制,通过浏览器缓存一方面可以改善用户的体验,而不用漫长地等待从服务器下载资源:另一方面减轻服务器压力.节省流量.CDN是另一种可以大幅度优化用户体验,且减轻服务器压力的技术. ...
- 【转】Android项目中编译 C的模块
原文网址:http://blog.csdn.net/Harrison_zhu/article/details/4057738 Android编译环境本身比较复杂,且不像普通的编译环境:只有顶层目录下才 ...
- Eclipse文件编码设置的问题
Eclipse中设置编码的方式 如果要使插件开发应用能有更好的国际化支持,能够最大程度的支持中文输出, 则最好使 Java文件使用UTF-8编码.然而,Eclipse工作空间(workspace)的缺 ...
- java.lang和java.lang.annotation中实现Annotation的类小结
加了注解,等于打上了某种标记,没加,则等于没有某种标记,以后,其他程序可以用反射来了解你的类上面有无何种标记,看你有什么标记,就去干相应的事.标记可以加在类,方法,字段,包上,方法的参数上. (1) ...
- [转]MVC之 过滤器(Filter)
一.自定义Filter 自定义Filter需要继承ActionFilterAttribute抽象类,重写其中需要的方法,来看下ActionFilterAttribute类的方法签名. //表示所有 ...
- HDU 5622 KK's Chemical DP
题意:bc round 71(中文题面) 分析(官方题解): 根据药品之间的相互关系,我们可以构建一张图,我们对相互会发生反应的药品连边 这个图的特征,是一个环加上一些“树”(可能有多个联通块) 一个 ...
- AJAX— 异步传输
AJAX异步传输 AJAX— 异步传输 AJAX浏览器与服务器异步传输数据,通过异步请求大大减少数据信息访问量,通俗:AJAX对局部刷新而不是对整个页面刷新,AJAX使得程序更快,更友好. AJAX处 ...
- rt-thread博客分享
对于理解rtos, 国内有一个rt-thread的开源社区,里面讲解了一些rtos的很多概念,方便了理解很多问题点,博客地址如下: http://www.cnblogs.com/King-Gentle ...
- Mongodb 和 普通数据库 各种属性 和语句 的对应
SQL to MongoDB Mapping Chart In addition to the charts that follow, you might want to consider the F ...