I 've been suffering from this for a long time recently and it's okay tonight. Let me explain it. At first, I thought that when I created a web project like J2EE, the plug-in will be automatically copied to the directory of the Web server. The result is not like this in PHP, it is necessary to directly build the PHP project in the virtual directory corresponding to Apache. Let me talk about it here. On the Internet, there is basically no clear explanation of the copy disorder ..
1: configure the Apache and php5.2 environments to ensure that PHP (PHP. ini I didn't put it into the Windows directory, but put the PHP installation directory and the PHP/EXT directory INTO THE PATH environment variable and restarted the computer)
2: Download eclipse-php-helios-win32.zip, ZendDebugger-5.2.14-cygwin_nt-i386
3: Decompress the zenddebugger and find the zenddebugger under 5_2_x_comp. DLL (corresponding to the PHP version), copy this file to the ext directory under the PHP decompression directory, my PHP decompression directory is D: \ php-5.0.5-Win32.
4: Add the following three sentences under PHP. ini:
Zend_extension = D :\php-5.0.5-Win32 \ ext \ zenddebugger. dll
Zend_debugger.allow_hosts = 127.0.0.1
Zend_debugger.expose_remotely = always
5: Open eclipse and create a PHP project. The directory is stored in the Apache main directory. For example, I first create a folder under the main directory and then save the project to this directory. Mainly for eclipse settings:
5.1: New under PHP executables:
5.2: PhP servers-> select the default one-> edit-> path mapping-> Add->:
Here, path on server is the name of the virtual directory, and the following is the project ..
6: Create a PHP file under the new project, right-click the file and choose run as> php web page. A path window is displayed, then we can see ..
7: For Debu, copy a dump. php file under the Zend debugger directory to the project home directory ..
OK. It's been a few days since ..