欧美日韩一区二区高清,久久视频这里只有精品,超黄网站在线观看,成人av影院在线观看


曙海教育集團論壇開發(fā)語言培訓專區(qū)SQL Server數(shù)據(jù)庫 → PHP論壇for Windows安裝


  共有7922人關注過本帖樹形打印

主題:PHP論壇for Windows安裝

美女呀,離線,留言給我吧!
wangxinxin
  1樓 個性首頁 | 博客 | 信息 | 搜索 | 郵箱 | 主頁 | UC


加好友 發(fā)短信
等級:青蜂俠 帖子:1393 積分:14038 威望:0 精華:0 注冊:2010-11-12 11:08:23
PHP論壇for Windows安裝  發(fā)帖心情 Post By:2010-12-13 13:26:35

 

 

準備工作:
1.一臺系統(tǒng)為Windows Server版的計算機(我這里用的是Windows Server 2003 EE)
PHP論壇for Windows安裝 - Windows=
步驟:
1.將TCP/IP參數(shù)配置如下,并運行“sysocmgr /i:sysoc.inf”,打開Windows組件向導
PHP論壇for Windows安裝 - Windows=
2.勾上DNS和IIS點確定安裝
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
3. 安裝PHP
PHP我用的是PHP5.1.4版,所有工具都已經(jīng)打包,將PHP5.1.4壓縮包解壓縮至E盤的根目錄,改名為PHP,即 E:\PHP,并設置安全權限為Everone完全控制
PHP論壇for Windows安裝 - Windows=
4.將E盤PHP目錄下的16個.dll文件拷貝到C:\WINDOWS\system32目錄下,同時將PHP目錄中ext子目錄中的所有的文件也拷貝到 C:\WINDOWS\system32目錄下(我這里就搜索E:\PHP下的*.dll全部復制到C:\WINDOWS\system32下),設置權限為Everone完全控制
PHP論壇for Windows安裝 - Windows=
5.將PHP目錄中的PHP.exe PHP-win.exe PHP.ini-dist三個文件拷貝到C盤windows的目錄下,(如果是Win2000系統(tǒng),應為C 盤的WINNT目錄下),將PHP.ini-dis改名為PHP.ini,設置權限為Everone完全控制
PHP論壇for Windows安裝 - Windows=
6.打開C:\windows下的PHP.ini,查找register_globals = off  改off為on
PHP論壇for Windows安裝 - Windows=
7.查找extension_dir =  將路徑指向PHP目錄中的ext目錄(即E:\PHP\ext)
PHP論壇for Windows安裝 - Windows=
8.查找下列語句,將其前面的 ; 符號去掉。這些語句幾乎是挨著的,不用逐個查找
;extension=php_dbase.dll
;extension=php_gd2.dll (用來支持GD庫,所以必須去掉)
;extension=php_ldap.dll
;extension=php_mbstring.dll (如果不去掉的話phpmyadmin會有紅色的提示)
;extension=php_mssql.dll  (支持MSSQL數(shù)據(jù)庫)
;extension=php_mysql.dll  (支持MYSQL數(shù)據(jù)庫)
最后保存即可
PHP論壇for Windows安裝 - Windows=
9.配置DNS服務,目的就是為了用主機頭,讓一臺服務器多放幾個站,先新建一個站,并新建兩條A記錄如下
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
10.打開IIS 管理器,把Web服務擴展全部起用
PHP論壇for Windows安裝 - Windows=
11. 打開 “網(wǎng)站屬性” ,“進入“ISAPI篩選器”,點擊 “添加”――篩選器名稱:PHP,可執(zhí)行文件:E:\php\php5isapi.dll (盤符不同路徑也不同)
PHP論壇for Windows安裝 - Windows=
12. 回到“主目錄”――執(zhí)行權限為 “純腳本”――配置――映射――添加――可執(zhí)行文件:E:\php\php5isapi.dll擴展名:.php(可千萬不要忘記那個小點)
PHP論壇for Windows安裝 - Windows=
13. 回到“文檔”添加一個 index.php,不然就無法訪問主頁了
PHP論壇for Windows安裝 - Windows=
14.重起IIS服務,再打開“ISAPI篩選器”,可以看到PHP已經(jīng)加載了,綠色的箭頭向上
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
15.安裝MySQL Server 5.0數(shù)據(jù)庫,按默認即可,需要修改的地方我已經(jīng)把圖貼出來了
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
為了安全起見,這里設置了密碼,等下在MySQL管理目錄要修改個文件,把密碼輸進去
PHP論壇for Windows安裝 - Windows=
PHP論壇for Windows安裝 - Windows=
16.這個文件夾下是MySQL管理目錄,等下要配置成一個網(wǎng)站,這里也需要設置權限
PHP論壇for Windows安裝 - Windows=
17.新建一個站(即MySQL管理站)
PHP論壇for Windows安裝 - Windows= 
 
 19.瀏覽MySQL管理站,報一個密碼不對的錯誤,這是正常的

支持(0中立(0反對(0單帖管理 | 引用 | 回復 回到頂部

返回版面帖子列表

PHP論壇for Windows安裝








簽名
主站蜘蛛池模板: 绥芬河市| 中阳县| 尤溪县| 义马市| 溆浦县| 盐城市| 松滋市| 潮安县| 淮北市| 石家庄市| 阿坝县| 高淳县| 澳门| 札达县| 万荣县| 花莲市| 麻城市| 庆城县| 晋城| 新巴尔虎右旗| 黄山市| 昂仁县| 鹤山市| 江永县| 桂东县| 福州市| 上林县| 定南县| 白城市| 宜兰县| 乐至县| 建湖县| 安多县| 东方市| 滨州市| 黄冈市| 蒲江县| 同心县| 阿合奇县| 长治市| 龙井市|