你需要的軟件:
1、服務器:apache_2.2.4-win32-x86-no_ssl.msi
http://pan.baidu.com/share/link?shareid=3837123167&uk=1947764420
2、模塊【解壓即可】:php-5.3.5-Win32-VC6-x86.zip
http://pan.baidu.com/share/link?shareid=3839517926&uk=1947764420
3、IDE:ZendStudioForEclipse-6.1.2.zip
http://pan.baidu.com/share/link?shareid=3829887035&uk=1947764420
4、數(shù)據(jù)庫:mysql-5.1.51-win32.msi
http://pan.baidu.com/share/link?shareid=3842636766&uk=1947764420
5、Navicat:navicat8_mysql_cs.zip
http://pan.baidu.com/share/link?shareid=3842636766&uk=1947764420
6、jdk:jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
http://pan.baidu.com/share/link?shareid=3847223604&uk=1947764420
?
安裝順序無要求,傻瓜式安裝
?
安裝之后配置:
1、jdk配置環(huán)境變量
java_home:C:\Program Files\Java\jdk1.6.0_10
path:%java_home%/bin;D:\Program Files\Apache Software Foundation\Apache2.2\bin
classpath:.;%java_home%/lib
?
2、服務器配置環(huán)境變量【上面已寫
D:\Program Files\Apache Software Foundation\Apache2.2\bin】
?
3、配置虛擬目錄
打開httpd.conf
把下面的粘貼進去,路徑要改成你自己的
#配置虛擬目錄
<IfModule dir_module>
??? DirectoryIndex index.html index.htm index.php
??? Alias /exchange "C:/Documents and Settings/fuzhengwei/Zend/workspaces/DefaultWorkspace/exchange"
<Directory "C:/Documents and Settings/fuzhengwei/Zend/workspaces/DefaultWorkspace/exchange">
??? Order allow,deny
??? Allow from all
</Directory>???
</IfModule>
4、配置php處理模塊【這個模塊就是上面需要軟件的2】
#讓apache載入php處理模塊
LoadModule php5_module "D:/Program Files/Apache Software Foundation/php-5.3.5/php5apache2_2.dll"
PHPIniDir "D:/Program Files/Apache Software Foundation/php-5.3.5"
AddType application/x-httpd-php .php .phtml
5、打開php模塊把里面的文件php.ini.XXX 把后面的去掉,只保留php.ini
6、打開php.ini
把下面這兩個前面的分號去掉,打開數(shù)據(jù)庫操作
extension=php_mysql.dll
extension=php_mysqli.dll
之后在把下面這個extension_dir路徑修改為你自己的路徑【解壓后的路徑】
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = "D:/Program Files/Apache Software Foundation/php-5.3.5/ext"
?
不出以外,你現(xiàn)在就可以正常開啟apache服務器,訪問你做的項目了