09/02/24 ★ Apache

.Apache使用與安裝(修改參數檔都需restart)
.port修改為8080 (ctrl+F:Listen)
.修改根目錄設定(ctrl+F:document、directory)
.修改指向網頁(ctrl+F:index)

09/03/03 ★ Apache & PHP & mySQL

.是否開放目錄 ◎搜尋:Options Indexes FollowSymLinks
            將Indexes拿掉,即為不開放

.指向網頁設定順序 ◎搜尋:Directoryindex index.html myweb.html
              首先指向index.html若無則為myweb.html

☆ 安裝PHP
1.選擇Apache2.2.x
2.C:\Program Files\Apache Software Foundation\Apache2.2\conf3.Extensions中的GD2(影像)、Multi-Byte String(文字編碼)、Mcrypt(加密)、MySQL(資料庫存取)

☆ PHP
.body內加上<?php phpinfo(); ?>交給PHP編碼

☆ MYSQL
.將phpMyAdmin-2.11.7-all-languages.zip解壓資料夾拖到C:\www
.將資料夾重命名為phpMyAdmin,C:\PHP\libmysql.dll複製到C:\WINDOWS\System32並重新啟動
.資料夾裡的config_sample.inc.php複製並改為config.inc.php
 $cfg['blowfish_secret'] = '密碼';    加上安裝資料庫時所設的密碼

arrow
arrow
    全站熱搜

    Call Yuan 發表在 痞客邦 留言(0) 人氣()