PHP version: 5.3.10
XDEBG plug-in: php_xdebug-2.1.2-5.3-vc9.dll
WAMPServer2.2 is compiled with VC9 and requires VC9 runtime support.
Solution to this problem:
Download the VC9 runtime library, download address: http://www.xiazaiba.com/html/515.html
Visual C++ 2008 runtime library (VC2008 runtime library) system requirements
Supported operating systems: Windows 2000 Service Pack 4; Windows Server 2003; Windows Server 2008; Windows Vista; Windows XP
Minimum configuration: 6 MB (x86)
Required software: Windows Installer 3.0 (recommended to install Windows Installer 3.1 or higher).
Install the VC9 runtime library and start the website server. Now WAMPServer2.2 can start normally!
If the WAMPServer icon appears orange, it means that APache or Mysql has not started. At this time, check to see if APache and Mysql have started. If they fail to start, then find out the reason. If the Start and Stop server under the APache or Mysql service menu are gray, install the service first and then try to start the service until the icon turns green, which means the server is running normally!
When debugging PHP, pay attention to the following simple questions:
1. Left-click the WAMPServer icon->PHP->PHP Settings->(Xdebug):Remote debug and check it to start the XDebug remote debugging template. If it is not started, debugging will not be possible.
2. Right-click on the WAMPServer icon in the lower right corner ->PHP->PHP Settings->(Xdebug):Remote debug and select the menu Windows->Preferences->PHP on Zend Studio9.0 ->Debug->Default Settings->PHP Debugger Select XDebug, OK to save the configuration. If "Break at first line" is checked, the debugging will be interrupted on the first line of the debugging page. Then it won’t break on the first line every time! This sets the default debugging information.
OK, now you can debug PHP on Zend Studio!