【軟體】FreeBSD 下 Apache2+php4+MySQL 快速安裝

顯示結果從第 1 筆 到 7 筆,共計 7 筆
  1. #1
    校長兼撞鐘 阿 土 的大頭照
    註冊日期
    2000-10-09
    所在地區
    SEEDNET 8M
    討論區文章
    11,817

    【軟體】FreeBSD 下 Apache2+php4+MySQL 快速安裝

    Apache 已經正式推出 2.0.35 版 , 這個版本跟之前 1.x 版安裝 PHP 的方式不盡相同

    有需要的人請參考一下 :

    原始來源:
    http://justdn.org/justdn.v2/content.php?ID=249

    一、安裝 gnu-pth

    cd /usr/ports/devel/pth

    make install clean

    二、安裝 Apache2+PHP4

    tar zxvf httpd-2.0.35.tar.gz

    tar zxvf php-4.2.0.tar.gz

    cd httpd-2.0.35

    ./configure --prefix=/usr/local/apache2 --enable-ext-filter --enable-so

    make
    make install

    cd ../php-4.2.0

    ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth --with-gd=/usr/local/ --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --enable-trans-sid --enable-ftp --with-zlib-dir=/usr/local

    make
    make install

    cp php.ini-dist /usr/local/lib/php.ini

    編輯 /usr/local/apache2/conf/httpd.conf 文件,加上如下幾行:

    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>

    啟動 Apache
    /usr/local/apache2/bin/apachectl start



  2. #2
    會員 oldtu 的大頭照
    註冊日期
    2001-08-02
    討論區文章
    143
    看來PHP現階段還是不能編到APACHE裡面

  3. #3
    獎金獵人
    註冊日期
    2002-02-08
    討論區文章
    2,184
    跟1.*.*版有差嗎?

    好像是整合了很多東西說

  4. #4
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818

    Overview of New Features in Apache 2.0

    http://httpd.apache.org/docs-2.0/new...es_2_0.html.en


    Core Enhancements:
    Unix Threading
    On Unix systems with POSIX threads support, Apache can now run in a hybrid multiprocess, multithreaded mode. This improves scalability for many, but not all configurations.
    New Build System
    The build system has been rewritten from scratch to be based on autoconf and libtool. This makes Apache's configuration system more similar to that of other packages.
    Multiprotocol Support
    Apache now has some of the infrastructure in place to support serving multiple protocols. mod_echo has been written as an example.
    Better support for non-Unix platforms
    Apache 2.0 is faster and more stable on non-Unix platforms such as BeOS, OS/2, and Windows. With the introduction of platform-specific multi-processing modules (MPMs) and the Apache Portable Runtime (APR), these platforms are now implemented in their native API, avoiding the often buggy and poorly performing POSIX-emulation layers.
    New Apache API
    The API for modules has changed significantly for 2.0. Many of the module-ordering/-priority problems from 1.3 should be gone. 2.0 does much of this automatically, and module ordering is now done per-hook to allow more flexibility. Also, new calls have been added that provide additional module capabilities without patching the core Apache server.
    IPv6 Support
    On systems where IPv6 is supported by the underlying Apache Portable Runtime library, Apache gets IPv6 listening sockets by default. Additionally, the Listen, NameVirtualHost, and <VirtualHost> directives support IPv6 numeric address strings (e.g., "Listen [fe80::1]:8080").
    Filtering
    Apache modules may now be written as filters which act on the stream of content as it is delivered to or from the server. This allows, for example, the output of CGI scripts to be parsed for Server Side Include directives using the INCLUDES filter in mod_include.
    Multilanguage Error Responses
    Error response messages to the browser are now provided in several languages, using SSI documents. They may be customized by the administrator to achieve a consistent look and feel.
    Simplified configuration
    Many confusing directives have been simplified. The often confusing Port and BindAddress directives are gone; only the Listen directive is used for IP address binding; the ServerName directive specifies the server name and port number only for redirection and vhost recognition.
    Native Windows NT Unicode Support
    Apache 2.0 on Windows NT now uses utf-8 for all filename encodings. These directly translate to the underlying Unicode file system, providing multilanguage support for all Windows NT-based installations, including Windows 2000 and Windows XP. This support does not extend to Windows 95, 98 or ME, which continue to use the machine's local codepage for filesystem access.

    --------------------------------------------------------------------------------

    Module Enhancements:
    mod_ssl
    New module in Apache 2.0. This module is an interface to the SSL/TLS encryption protocols provided by OpenSSL.
    mod_dav
    New module in Apache 2.0. This module implements the HTTP Distributed Authoring and Versioning (DAV) specification for posting and maintaining web content.
    mod_auth_digest
    Includes additional support for session caching across processes using shared memory.
    mod_charset_lite
    New module in Apache 2.0. This experimental module allows for character set translation or recoding.
    mod_file_cache
    New module in Apache 2.0. This module includes the functionality of mod_mmap_static in Apache 1.3, plus adds further caching abilities.
    mod_headers
    This module is much more flexible in Apache 2.0. It can now modify request headers used by mod_proxy, and it can conditionally set response headers.
    mod_proxy
    The proxy module has been completely rewritten to take advantage of the new filter infrastructure and to implement a more reliable, HTTP/1.1 compliant proxy. In addition, new <Proxy> configuration sections provide more readable (and internally faster) control of proxied sites; overloaded <Directory "proxy:..."> configuration are not supported. The module is now divided into specific protocol support modules including proxy_connect, proxy_ftp and proxy_http.
    mod_negotiation
    A new ForceLanguagePriority directive can be used to assure that the client receives a single document in all cases, rather than NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the negotiation and MultiViews algorithms have been cleaned up to provide more consistent results and a new form of type map that can include document content is provided.
    mod_autoindex
    Autoindex'ed directory listings can now be configured to use HTML tables for cleaner formatting, and allow finer-grained control of sorting, including version-sorting, and wildcard filtering of the directory listing.
    mod_include
    New directives allow the default start and end tags for SSI elements to be changed and allow for error and time format configuration to take place in the main configuration file rather than in the SSI document. Results from regular expression parsing and grouping (now based on Perl's regular expression syntax) can be retrieved using mod_include's variables $0 .. $9.
    mod_auth_dbm
    Now supports multiple types of DBM-like databases using the AuthDBMType directive.
    mod_auth_db
    Has been removed in favor of mod_auth_dbm with the AuthDBMType directive.
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  5. #5
    會員 Sky_Fox 的大頭照
    註冊日期
    2001-09-28
    討論區文章
    67

    阿土站長 那RED HAT 9要怎麼裝呀?

    那阿土站長,如果RED HAT 9 不想用RPM版的裝APACHE Server 那要怎麼裝,
    尤其是要能跑 PERL + PHP + Mysql
    正確的做法是怎樣呢?



  6. #6
    校長兼撞鐘 阿 土 的大頭照
    註冊日期
    2000-10-09
    所在地區
    SEEDNET 8M
    討論區文章
    11,817

    回覆: 阿土站長 那RED HAT 9要怎麼裝呀?

    最初由 Sky_Fox 發表
    那阿土站長,如果RED HAT 9 不想用RPM版的裝APACHE Server 那要怎麼裝,
    尤其是要能跑 PERL + PHP + Mysql
    正確的做法是怎樣呢?
    我只有玩 BSD , 沒玩 RH9
    可以看看鳥哥的 Linux 與 ADSL 私房菜 - 簡易 WWW 伺服器設定
    http://www.vbird.org/linux_server/0360apache.php

    或用 google 搜尋看看

  7. #7
    會員 Sky_Fox 的大頭照
    註冊日期
    2001-09-28
    討論區文章
    67

    回覆: 回覆: 阿土站長 那RED HAT 9要怎麼裝呀?

    最初由 阿 土 發表
    我只有玩 BSD , 沒玩 RH9
    可以看看鳥哥的 Linux 與 ADSL 私房菜 - 簡易 WWW 伺服器設定
    http://www.vbird.org/linux_server/0360apache.php

    或用 google 搜尋看看
    謝謝阿土站長喔...我馬上去看...!

類似的主題

  1. Nginx+Apache2+PHP+MySQL
    作者:uason 所在討論版:☉ -- 架 站 DIY 討 論 版
    回覆: 1
    最後發表: 2010-12-20, 08:42 PM
  2. 請問使用yum 安裝apache2, php, mysql, php-mysql 的問題.
    作者:cpthk 所在討論版:-- FreeBSD & Linux 討 論 版
    回覆: 3
    最後發表: 2005-09-23, 12:29 AM
  3. [軟體] 在你的 Windows 上快速安裝 Apache + PHP + MySQL
    作者:阿 土 所在討論版:☉ -- 架 站 DIY 討 論 版
    回覆: 21
    最後發表: 2002-06-16, 09:04 PM
  4. [軟體] 在你的 Windows 上快速安裝 Apache + PHP + MySQL
    作者:阿 土 所在討論版:---- 電 腦 / 網 路 軟 體 精 華 區
    回覆: 14
    最後發表: 2001-06-19, 02:47 AM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •