These days toss a bit of PHP development environment to build, now summarize the installation steps:
1. Install Zend Studio and then hack.
2. Install Xampp 3. Configure XAMPP 3.1 To configure Apache service port: Modify C:\xampp\apache\conf\httpd.conf Find "Listen 80" and "ServerName localhost:80" to change to The appropriate port. Ensure Apache service starts normally: 3.2 Create virtual directory: 3.2.1 Modify C:\xampp\apache\conf\httpd.conf Find: # virtual Hosts
Include conf/extra/httpd-vhosts.conf
Remove the # 3.2.2 before "Include conf/extra/httpd-vhosts.conf" to modify C:\xampp\apache\conf\extra\httpd-vhosts.conf: Add the following configuration section <virtualhost *:80>//Port numberDocumentRoot "d:/phpspace/"//virtual directory location
ServerName Windydev//Domain name, can be added to the hosts
Errorlog "Logs/windydev.log"//logFile Location
<directory "D:/phpspace/hello" >//virtual directory location
Options-indexes //Do not allow browsing directory to be changed to Options Indexes followsymlinks includes execcgi
AllowOverride All
Require all granted
</Directory>
</VirtualHost>Be careful not to write Chinese notesVerify that Http://windydev can access 3.3 Install XDebug 3.3.1 get PHP Information: Write a HelloWorld, call Phpinfo () in the page output PHP information, copy all output characters open http://www.xdebug.org/wizard.php, enter the copy character into the text box and click "Analyse my phpinfo () output" to follow the instructions on the Web page. 4. Modify the Hosts file because of the added virtual directory, so to modify the Hosts file join: 127.0.0.1 Windydev
NOTE: Mac version of the Xdebug installation is slightly more complicated, but as long as strictly in accordance with the Xdebug official website Instructions Step by step to do or can be successful, here to remind the Mac 10.9 version of the user: If you are doing the phpize times wrong, please refer to the solution:/http my.oschina.net/twitter/blog/287543 the configuration of the Xdebug is given below:
Windows:[xdebug]xdebug.profiler_append = 0
xdebug.profiler_enable = 1
Xdebug.profiler_enable_trigger = 0
Xdebug.profiler_output_dir = "C:\xampp\tmp"
Xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
Xdebug.remote_handler = "DBGP"
Xdebug.remote_host = "127.0.0.1"
Xdebug.trace_output_dir = "C:\xampp\tmp" zend_extension = C:\xampp\php\ext\php_xdebug-2.2.7-5.5-vc11.dll
Mac:Zend_extension =/applications/xampp/xamppfiles/lib/php/extensions/no-debug-non-zts-20100525/ xdebug.soxdebug.remote_enable = 1
Xampp + Zend Studio + xDebug Environment Construction (mac,windows all applicable)