+ -
当前位置:首页 → 问答吧 → zendserver不支持php

zendserver不支持php

时间:2009-06-18

来源:互联网

我安装了zendserver之后发现默认情况下它不支持php。
html页面可以访问,php页面就无法解析。
在配置文件里也没找到    像
LoadModule php5_module "D:/wamp/php/php5apache2_2.dll"这样的配置语句。
请问怎么让zendserver支持php 呢

作者: lev2   发布时间: 2009-06-18

在安装zendserver时要选php.inf位置的

作者: 0x0qwe   发布时间: 2009-10-20

今天安装了zend的zendServer服务器,一路next下来,没什么问题,但是安装完后不能调试php智能调试html,调试php时出现以下错误

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

于是到zend的目录下找配置文件,看到有etc(linux下的大多数软件的配置文件都在这个目录下)目录,打开etc目录下面有个ZendEnablerConf.xml文件,看起来像配置文件,打开一看文件开头的地方存在乱码,修改好保存成utf8(一定要是utf8,可以用Dreamweaver,EditPlus工具编辑),重启apache就行了。

以上错误的原因就是“ZendServer\etc\ZendEnablerConf.xml”的文件出现乱码
更多详细信息请访问http://blog.softrpm.com/archives/23.html

作者: gjl3189   发布时间: 2009-10-30