下载软件
- Apache:http://httpd.apache.org/download.cgi
- PHP:http://php.net/downloads.php
- MySQL:http://dev.mysql.com/downloads/mysql/
- MySQL GUI Tools:http://dev.mysql.com/downloads/gui-tools/5.0.html
安装配置Apache
修改httpd文件:
# PHP Configuration PHPIniDir "D:/Program Files/PHP/" LoadModule php5_module "D:/Program Files/PHP/php5apache2_2.dll"
修改mime.types文件:
# PHP Configuration application/x-httpd-php php application/x-httpd-php-source phps
安装配置PHP
PHP使用的是zip版,解压缩后将php.ini-recommended更名为php.ini
修改php.ini文件:
; Directory in which the loadable extensions (modules) reside extension_dir = "D:\Program Files\PHP\ext" ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) ; extension folders as well as the separate PECL DLL download (PHP 5). ; Be sure to appropriately set the extension_dir directive. extension=php_mysql.dll ;
系统环境变量Path可增加:”D:\Program Files\PHP;D:\Program Files\PHP\ext”
安装配置MySQL
装完MySQL再装GUI Tools,因为喜欢MySQL System Tray Monitor。
软件版本
Windows:7(6.1.7600.16385)
Apache:2.2.15
PHP:5.2.14
MySQL:5.1.50
MySQL GUI Tools:5.0-r17
文章都是你自己写的吗?要标一下。
有些还是有些用处的。
希望“哒哒熊”不要总是睡觉,要加油才行!
That’s the best ansewr of all time! JMHO