Windows安裝Apache2.4和PHP5.6,apache2.4php5.6_PHP教程

來源:互聯網
上載者:User

Windows安裝Apache2.4和PHP5.6,apache2.4php5.6



VC11 下載安裝
http://www.microsoft.com/en-us/download/details.aspx?id=30679

=================

PHP(5.6) VC11 x86 Thread Safe
php-5.6.4-Win32-VC11-x86.zip

下載地址:http://windows.php.net/download/

解壓並建立php.ini檔案

=================

Apache(2.4)
httpd-2.4.10-win32-VC11.zip

下載地址:http://www.apachelounge.com/download/
手冊下載:http://mirror.bit.edu.cn/apache/httpd/docs/

解壓,樣本目錄(E:/WAMP)

修改主設定檔:conf/http.conf

ServerRoot "E:/WAMP/Apache"
ServerName desktop
DocumentRoot "E:/WWW"

DirectoryIndex index.html index.php

Include conf/extra/httpd-vhosts.conf

#關聯PHP
LoadModule php5_module E:/WAMP/PHP/php5apache2_4.dll
AddType application/x-httpd-php .php
PHPIniDir "E:/WAMP/PHP"

修改虛擬機器主機設定檔:conf/extra/httpd-vhosts.conf

  ServerName desktop  DocumentRoot "C:/Users/Administrator/Desktop"      Options Indexes FollowSymLinks    AllowOverride FileInfo  

添加系統服務:httpd.exe -k install -n "Apache24"
卸載系統服務:httpd.exe -k uninstall -n "Apache24"

http://www.bkjia.com/PHPjc/938094.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/938094.htmlTechArticleWindows安裝Apache2.4和PHP5.6,apache2.4php5.6 VC11 下載安裝 http://www.microsoft.com/en-us/download/details.aspx?id=30679 ================= PHP(5.6) VC11 x86 Thread Safe ph...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.