| 前页 | 后页 | 
PHP调试器清单
本主题提供了用于在Enterprise Architect调试PHP脚本的疑难解答指南。
检查点
| 检查点 | 细节 | 也可以看看 | 
|---|---|---|
| 系统要求 | 
 | http://httpd.apache.org/ http://windows.php.net/ http://www.xdebug.org/download.php | 
| Enterprise Architect | 
 remotepath:%REMOTE% 为这些默认变量定义本地路径,或编辑脚本以提供实际路径。 例如:本地源,远程源 localpath:c:\ code样本\ vea \ php \ sample remotepath:网络服务器/样本 
 | |
| 的PHP | 为了在Enterprise Architect调试PHP脚本,要求正确配置PHP以加载XDebug扩展。 应使用与以下类似的设置: 
 IP地址是XDebug连接的地址,也是Enterprise Architect PHP代理侦听的地址。 | |
| 阿帕奇 | 为了使用Apache进行调试,这些行应该出现在Apache配置文件httpd.conf中: LoadModule php5_module“ php_home / php5apache2_2.dll” AddHandler应用程序/ x-httpd-php .php PHPIniDir“ php_home” 值“ php_home”是PHP的安装路径(php.ini和apache dll存在的路径)。 | |
| 故障排除 | 为了防止在调试会话期间PHP和Apache超时,可能需要修改这些设置。 这些设置是在Enterprise Architect开发PHP调试代理时使用的。 | |
| 的PHP | 档案:php.ini ; Enterprise Architect在调试PHP扩展时可防止PHP超时 max_execution_time = 0 ;在调试PHP扩展时, Enterprise Architect防止Web服务器超时 max_input_time = -1 ; Enterprise Architect记录错误 display_errors =开 ; Enterprise Architect显示启动错误 display_startup_errors =开 | |
| 阿帕奇 | 档案:httpd.conf ; Enterprise Architect在调试php扩展时防止超时 超时60000 | 
