install.general.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 94 行

HTML
94
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>General Installation Considerations</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="install.html">Installation and Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.unix.html">Installation on Unix systems</a></div> <div class="up"><a href="install.html">Installation and Configuration</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div>   <h1>General Installation Considerations</h1>   <p class="para">    Before starting the installation, first you need to know what do you    want to use PHP for. There are three main fields you    can use PHP, as described in the    <a href="intro-whatcando.html" class="link">What can PHP do?</a>    section:    <ul class="itemizedlist">     <li class="listitem"><span class="simpara">Websites and web applications (server-side scripting)</span></li>     <li class="listitem"><span class="simpara">Command line scripting</span></li>     <li class="listitem"><span class="simpara">Desktop (GUI) applications</span></li>    </ul>   </p>   <p class="para">    For the first and most common form, you need three things:    PHP itself, a web server and a web browser. You    probably already have a web browser, and depending on    your operating system setup, you may also have a web    server (e.g. Apache on Linux and MacOS X; IIS on Windows).    You may also rent webspace at a company. This way, you    don&#039;t need to set up anything on your own, only write    your PHP scripts, upload it to the server you rent, and    see the results in your browser.    </p>   <p class="para">    In case of setting up the server and PHP on your own, you have    two choices for the method of connecting PHP to the    server. For many servers PHP has a direct module    interface (also called SAPI). These servers include    Apache, Microsoft Internet Information Server,    Netscape and iPlanet servers. Many other servers    have support for ISAPI, the Microsoft module    interface (OmniHTTPd for example). If PHP has no    module support for your web server, you can always    use it as a CGI or FastCGI processor. This means you set up    your server to use the CGI executable of    PHP to process all PHP file requests on the server.   </p>   <p class="para">    If you are also interested to use PHP for command line    scripting (e.g. write scripts autogenerating some images    for you offline, or processing text files depending    on some arguments you pass to them), you always need    the command line executable. For more information, read    the section about <a href="features.commandline.html" class="link">writing    command line PHP applications</a>. In this case,    you need no server and no browser.   </p>   <p class="para">    With PHP you can also write desktop GUI applications    using the PHP-GTK extension. This is a completely    different approach than writing web pages, as you    do not output any HTML, but manage windows and objects    within them. For more information about PHP-GTK, please    <a href="http://gtk.php.net/" class="link external">&raquo; visit the site dedicated to    this extension</a>. PHP-GTK is not included in the    official PHP distribution.   </p>   <p class="para">    From now on, this section deals with setting up PHP    for web servers on Unix and Windows with server module    interfaces and CGI executables. You will also find    information on the command line executable in the    following sections.   </p>   <p class="para">    PHP source code and binary distributions for Windows can be    found at    <a href="http://www.php.net/downloads.php" class="link external">&raquo; http://www.php.net/downloads.php</a>.    We recommend you to choose a    <a href="http://www.php.net/mirrors.php" class="link external">&raquo; mirror</a> nearest    to you for downloading the distributions.   </p>  </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="install.html">Installation and Configuration</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.unix.html">Installation on Unix systems</a></div> <div class="up"><a href="install.html">Installation and Configuration</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?