首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(1) | 引用(0) | 阅读6180次
ZendStudio apache php安装

ZendStudioClient-4.0.2 Zend Studio Server
1、下载ZendStudio,运行,安装过程提示下载,并继续安装Zend Studio Server

2、下载并安装APACHE http://www.apache.org/ Apache 2.0.54 Released  Win32 Binary (MSI Installer): apache_2.0.54-win32-x86-no_ssl.msi http://apache.justdn.org/httpd/binaries/win32/apache_2.0.54-win32-x86-no_ssl.msi

3、下载并安装 PHP http://cn.php.net/get/php-4.3.10-Win32.zip/from/a/mirror
因为:Zend Studio Server PHP Compatibility: Windows: WinEnabler for PHP 4.3.x included,
如果用新版本会导致 不能启动Zend Studio Server,报告PHP版本不对

http://www.phpmyadmin.net/home_page/downloads.php

4、配置 www.shengfang.org
复制php目录下php4ts.dll到C :\\widows\\system32目录下
复制php.ini.dist到widows目录下,并将扩展名.dist去掉,得到php.ini文件
PHP.INI:extension_dir = "O:/php/php"
register_globals = On www.shengfang.org
display_errors = On www.shengfang.org
display_startup_errors = On  www.shengfang.org

httpd.conf:以模块方式加载PHP
#LoadModule ssl_module modules/mod_ssl.so
LoadModule php4_module O:/php/php/sapi/php4apache2.dll

DirectoryIndex index.html index.html.var index.htm index.php

# 以 CGI 模式运行 PHP 脚本(备份)
ScriptAlias /php/ "D:/usr/local/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

如果没有配置好:访问 http://localhost/ZendStudioServer/studio/index.php
出现,这是PHP解析失败,配置好PHP后,还出现这个错误,是因为PHP版本问题
Zend Optimizer not installed
"; print " www.shengfang.org
This file was encoded by the Zend Encoder / Zend SafeGuard Suite

\n"; print "
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.

\n"; print "
What is the Zend Optimizer?
"; print <<The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.

In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.

The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.

Forbidden
You don't have permission to access /"http://www.zend.com/store/products/zend-optimizer.php/" on this server.
--------------------------------------------------------------------------------
Apache/2.0.54 (Win32) ZendWinEnabler/1.2.0 Server at localhost Port 80


启动APACHE失败,这是因为 PHP的php4ts.dll没有复制到系统目录,我是因为复制到了而没有及时更新。先下载运行的:PHP 4.4.0 installer [1,100Kb] - 11 Jul 2005
(CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)

The Apache service named  reported the following error:
>>> Cannot load O:/php/php/sapi/php4apache2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3\xcc\xd0\xf2\xa1\xa3     .

习惯性在ZendStudioClient按F8,结果~~,这个DEBUG URL不知道怎么处理
如果调试会话未启动,www.shengfang.org
请检查下列常见问题:www.shengfang.org

- 尝试连接的地址可能无效。
- Zend Debug Server 可能未正确安装在
   你正在连接的服务器上。
   可在服务器上检查 phpinfo() 的输出
   来测试这种情况,并搜索“Zend Debugger”。
   如果未安装,应该在您的服务器上安装
   Zend Studio Server。
- Zend Studio Server 可能配置成了不允许主机
   启动调试会话。
   可在 Zend Server Center 中或 php.ini 文件中
   配置所允许/拒绝的主机列表。
- 您的机器可能有防火墙保护,
   因此阻止 Zend Debug Server 与其连接。
   Zend Debug Server 试图连接回您的机器的
   指定端口(缺省值为 10000,可在
   “首选项 -> 调试”窗格中配置)。
   您可能必须在防火墙中打开此端口
   以启用远程调试。
- 输入的地址可能不是有效的 PHP 文件。
   PHP 必须安装在服务器上,并进行配置
   以将指定的扩展名作为 PHP 文件处理。
- 可能在尝试通过代理服务器连接。
   设法禁用代理(完全禁用,或者对正在尝试
   连接的特定服务器禁用)。
- 有可能已出现其它类型的错误。
   请试着检查服务器错误日志
   (通常在 UNIX 系统的 /var/log/httpd/error_log 中)
   的结尾处,以获得可能的错误消息。
- 在参数中设置的Zend Studio服务器的URL
与在通道设置中定义的通道目标主机的URL不同。


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/zendphpapacheinsta.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1123655474

2005年8月10日14:31星期三  [Dev开发] 追踪此文的RSS
路过在 2007年12月15日23:46星期六 评论:

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1839
在线: 26||用户: 2576 [列表]
今日:2179||到访:2854033
Rss:885215||评论:1604

最新日志

最新评论

友情链接

日历

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8