1. Xampp installation Official Website: www.apachefriends.orgenxampp-windows.html #641, select the appropriate version download all the way to install 2. Zendstudio installation a. Download Zendstudio official website address: www. zend. comenproductsstudiodownloads? PlatformWindowsb. Crack Zendstudi
1. Xampp installation Official Website: http://www.apachefriends.org/en/xampp-windows.html?641 select the appropriate download path to install 2. Zend studio installation a. Download Zend studio official website address: http://www.zend.com/en/products/studio/downloads? Platform = Windows B. Crack Zend studi
1. Install Xampp
Official Website: http://www.apachefriends.org/en/xampp-windows.html#641 select the appropriate option to download and install it all the way
2. Install Zend studio
A. Download Zend studio
Official website address: http://www.zend.com/en/products/studio/downloads? Platform = Windows
B. Crack Zend studio
Reference: http://www.geekso.com/ZendStudio100/3/1/
3. DownloadWordpress source code
A. Download
Address: http://wordpress.org/download/
B. Download and decompress the package to the htdocs directory under the xampp installation directory.
C. Start apache and mysql In the xampp control panel (if there is a port conflict, check the Netstat next to it and disable or modify the service in conflict, typical skype and vititualSVN)
D. Enter localhost/phpmyadmin in the browser.
Configure the Wordpress config file htdocs \ wordpress \ wp-config.php (you need to change the wp-config-sample.php to wp-config.php)
Define ('db _ name', 'xampp-blog ');
/** MySQL database username */
Define ('db _ user', 'root ');
/** MySQL Database Password */
Define ('db _ password ','');
/** MySQL host */
Define ('db _ host', 'localhost ');
/** Default text encoding when creating a data table */
Define ('db _ charset', 'utf8 ');
/** Database sorting type. If you are not sure, do not change it */
Define ('db _ collate ','');
In fact, there are three changes:
DB_NAME (database name, that is, "pademo" I just set "),
DB_USER (database user name, because this is a local installation, the user name is set to "root)
DB_PASSWORD (Database Password, blank. Note that it is blank in the middle of two single quotes, neither completely nor double quotation marks)
$ Table_prefix = 'wp _ '; check this statement. This is the table prefix for the database. If you want to install two Wordpress locally, then your other blog cannot use a table with the wp prefix, And you should change it to another prefix. For example, pptv can be changed anyway. This is also applicable to remote networks. You can set up Multiple blogs for one database.
4. Configure xdebug
A. Change php. ini.
[XDebug]
Zend_extension= "F: \ xampp \ src \ php \ ext \ php_xdebug-2.2.1-5.4-vc9.dll"
; Xdebug. profiler_append = 0
Xdebug. profiler_enable = 1
; Xdebug. profiler_enable_trigger = 0
Xdebug. profiler_output_dir = "F: \ xampp \ src \ 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. remote_port = 9000
; Xdebug. trace_output_dir = "F: \ xampp \ src \ tmp"
Where: php_xdebug-2.2.1-5.4-vc9.dll download from: http://www.xdebug.org/download.php (to overturn the wall) under the php version of the corresponding dll
My php version is 5.4
You can see: http: // localhost/xampp/index. php, the following phpinfo:
Note: php5.4 is thread safe, so the next database should not be nf.
B. Restart Apache of XAMPP Control Panel and refresh http: // localhost/xampp/index. php.
Visible:
The xdebug configuration in zend studio is successful.
C. Open zend studio Windows-> Preferences-> PHP-> Debug settings as follows:
D. breakpointDebugging
Debug As-> PHP Web Application, go to the Debug perspective
An arrow indicates that the trail can be tracked...
5. Postscript
C/C ++ was born to make these things really miserable for the first time, everything can only be Google, hope you can stick to it, unlike the previous study of Android and openmeeting that abandoned halfway.