2168575 发表于 2015-11-17 04:13:54

eclipse-php,zend debugger,wamp配置

  1.下载eclipse-php-helios-win32.zip,解压:e:\myspace\eclipse-php\,运行指定工作空间为e:\myspace\eclipse-php\workspace\
2.下载ZendDebugger-5.2.15-cygwin_nt-i386.zip,解压待用,位置自定
3.下载WampServer2.1e-x32.exe,安装,位置自定:c:\wamp\
4.使用wamp创建一个alias,指向eclipse-php的工作空间e:\myspace\eclipse-php\workspace\:
Enter your alias:workspace
Enter the destination of your alias:e:/myspace/eclipse-php/workspace/
以后就可以直接通过http://localhost/workspace/xxx访问你创建的php工程下的文件了
5.ZendDebugger的配置,将解压包下的%DIR%\5_2_x_comp\ZendDebugger.dll文件复制到C:\wamp\bin\php\php5.3.5\zend_debugger目录下
6.打开C:\wamp\bin\php\php5.3.5\php.ini,添加如下代码,配置ZendDebugger:

zend_extension_ts=C:/wamp/bin/php/hp5.3.5/zend_debugger/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always
7.eclipse-php配置:
运行eclipse-php:
1).window->Prferences->PHP->PHP Ececutables->Add:
   Name:php-5.3.5
   Executable path:C:\wamp\bin\php\php5.3.5\php.exe
   PHP ini file(optional):C:\wamp\bin\php\php5.3.5\php.ini
   PHP Debugger:Zend Debugger->OK
2).window->Prferences->PHP->PHP Interpreter->PHP Version->PHP 5.3
3).window->Prferences->PHP->PHP Servers->Default PHP Web Server->Edit:
   Enter the URL that......:http://localhost/workspace
8.测试:
File->New->PHP Project->MyWeb->New->PHP File->index.php->
<?php
phpinfo();
?>->Run->Run As->PHP Web Page查看运行效果。
   
  
  

             版权声明:本文为博主原创文章,未经博主允许不得转载。
页: [1]
查看完整版本: eclipse-php,zend debugger,wamp配置