⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.windows.manual.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Manual Installation Steps</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.windows.installer.html">Windows Installer (PHP 5.1.0 and earlier)</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.windows.activescript.html">ActiveScript</a></div> <div class="up"><a href="install.windows.html">Installation on Windows systems</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="install.windows.manual" class="sect1">    <h2 class="title">Manual Installation Steps</h2>        <p class="para">     This install guide will help you manually install and configure PHP with     a web server on Microsoft Windows.  To get started you&#039;ll need to download      the zip binary distribution from the downloads page at     <a href="http://www.php.net/downloads.php" class="link external">&raquo; http://www.php.net/downloads.php</a>.    </p>        <p class="para">     Although there are many all-in-one installation kits, and we also      distribute a PHP installer for Microsoft Windows, we recommend you take      the time to setup PHP yourself as this will provide you with a better      understanding of the system, and enables you to install PHP extensions      easily when needed.    </p>        <blockquote><p><b class="note">Note</b>:      <b>Upgrading from a previous PHP version</b><br />           Previous editions of the manual suggest moving various ini and       <acronym title="Dynamic Link Library">DLL</acronym> files into your SYSTEM (i.e.       <var class="filename">C:\WINDOWS</var>) folder and while this       simplifies the installation procedure it makes upgrading difficult.  We       advise you remove all of these files (like <var class="filename">php.ini</var> and PHP related      DLLs from the Windows SYSTEM folder) before moving on with a new       PHP installation.  Be sure to backup these files as you might break the      entire system.  The old <var class="filename">php.ini</var> might be useful in setting up the new      PHP as well.  And as you&#039;ll soon learn, the preferred method for       installing PHP is to keep all PHP related files in one directory and      have this directory available to your systems PATH.     <br />    </p></blockquote>        <blockquote><p><b class="note">Note</b>:      <b>MDAC requirements</b><br />           If you use Microsoft <em class="emphasis">Windows 98/NT4</em> download the      latest version of the Microsoft Data Access Components (MDAC) for your      platform. MDAC is available at <a href="http://msdn.microsoft.com/data/" class="link external">&raquo; http://msdn.microsoft.com/data/</a>.      This requirement exists because <a href="ref.uodbc.html" class="link">ODBC</a> is      built into the distributed Windows binaries.     <br />    </p></blockquote>        <p class="para">     The following steps should be completed on all installations before any     server specific instructions are performed:    </p>    <p class="para">     Extract the distribution file into a directory of your choice. If you     are installing PHP 4, extract to <var class="filename">C:\</var>, as the zip file expands to a     foldername like <var class="filename">php-4.3.7-Win32</var>. If you are     installing PHP 5, extract to <var class="filename">C:\php</var> as the zip file doesn&#039;t expand as in     PHP 4. You may choose a different location but do not have spaces in the     path (like <var class="filename">C:\Program Files\PHP</var>)     as some web servers will crash if you do.    </p>    <p class="para">     The directory structure extracted from the zip is different for PHP      versions 4 and 5 and look like as follows:    </p>    <div class="example">     <p><b>Example #1 PHP 4 package structure</b></p>     <div class="example-contents"><div class="cdata"><pre>c:\php   |   +--cli   |  |   |  |-php.exe           -- CLI executable - ONLY for command line scripting   |   +--dlls                -- support DLLs required by some extensions   |  |   |  |-expat.dll   |  |   |  |-fdftk.dll   |  |   |  |-...   |   +--extensions          -- extension DLLs for PHP   |  |   |  |-php_bz2.dll   |  |   |  |-php_cpdf.dll   |  |   |  |-...   |   +--mibs                -- support files for SNMP   |   +--openssl             -- support files for Openssl   |   +--pdf-related         -- support files for PDF   |   +--sapi                -- SAPI (server module support) DLLs   |  |   |  |-php4apache.dll   |  |   |  |-php4apache2.dll   |  |   |  |-...   |   +--PEAR                -- initial copy of PEAR   |   |   |-go-pear.bat          -- PEAR setup script   |   |-...   |   |-php.exe              -- CGI executable   |   |-...   |   |-php.ini-dist         -- default php.ini settings   |   |-php.ini-recommended  -- recommended php.ini settings   |    |-php4ts.dll           -- core PHP DLL   |    |-...</pre></div>     </div>    </div>     <p class="para">    Or:    </p>    <div class="example">     <p><b>Example #2 PHP 5 package structure</b></p>     <div class="example-contents"><div class="cdata"><pre>c:\php   |   +--dev   |  |   |  |-php5ts.lib   |   +--ext                 -- extension DLLs for PHP   |  |   |  |-php_bz2.dll   |  |   |  |-php_cpdf.dll   |  |   |  |-...   |   +--extras   |  |   |  +--mibs             -- support files for SNMP   |  |   |  +--openssl          -- support files for Openssl   |  |   |  +--pdf-related      -- support files for PDF   |  |   |  |-mime.magic   |   +--pear                -- initial copy of PEAR   |   |   |-go-pear.bat          -- PEAR setup script   |   |-fdftk.dll   |   |-...   |   |-php-cgi.exe          -- CGI executable   |   |-php-win.exe          -- executes scripts without an opened command prompt   |   |-php.exe              -- CLI executable - ONLY for command line scripting   |   |-...   |   |-php.ini-dist         -- default php.ini settings   |   |-php.ini-recommended  -- recommended php.ini settings   |    |-php5activescript.dll   |   |-php5apache.dll   |   |-php5apache2.dll   |   |-...

⌨️ 快捷键说明

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