YNDK+LeslieHomepage 歡迎來到演藝特工暨哥哥網站




安裝 Apache + PHP + MySQL

01 12月 2006
Posted by 匿名者

匿名者's 的頭像

維護本站運作,提供具參考價值內容,請踴躍捐助,作為贊助本站經費的一點心意!

1. Install Apache (using files in CH01.ZIP)

  • run “apache_2.2.3-win32-x86-no_ssl.msi”
  • copy “httpd.conf” to “C:\Program Files\Apache Software Foundation\Apache2.2\conf”, overwrite the original “httpd.conf”
  • create a new folder “C:\Web” under your C: drive

 

  

  

2. Install PHP (using files in CH01.ZIP and CH02.ZIP)

  • run “php-5.1.5-installer.exe”
  • extract “php-5.1.5-Win32.zip”, copy all files to “C:\PHP”
  • create a new folder “C:\PHP\sessiondata” under your C:\PHP folder
  • create a new folder “C:\PHP\uploadtemp” under your C:\PHP folder

 

  

  

3. Install MySQL (using files in CH03.ZIP)

  • run “setup.exe” under the  “mysql-5.0.22-win32” folder

 

  

4. Configure PHP to support MySQL (using files in CH02.ZIP or CH03.ZIP)

  • copy “php.ini” (inside the setup folder of CH02.ZIP) to “C:\PHP”
  • edit “C:\PHP\php.ini”, modify the line as below:
    extension_dir = "C:\PHP\ext\"
    extension=php_mysql.dll  (remove the ; at the beginning)
    OR
  • copy the “extensions” folder under the “mysqllib” (inside the setup folder of CH03.ZIP) to “C:\PHP”
  • copy the “php.ini” file under the “mysqllib” to “C:\PHP”

Tags:

匿名者's 的頭像

localhost8080

裝完之後點樣在localhost:8080看到自己的版面?

匿名者's 的頭像

Siutin

Could you teach me how to config the php so that when I open those html files locally with the use of Apache, it can run? Coz when I now test the html files which have php embeded, it will open dreamweaver for the php. Thanks~



Custom Search