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

📄 migration5.configuration.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Migrating Configuration Files</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="migration5.cli-cgi.html">CLI and CGI</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration5.functions.html">New Functions</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="migration5.configuration" class="section">   <h2 class="title">Migrating Configuration Files</h2>   <p class="para">    Since the ISAPI modules changed their names, from php4xxx to php5xxx, you    need to make some changes in the configuration files. There were also    changes in the CLI and CGI filenames. Please refer to the <a href="migration5.cli-cgi.html" class="link">corresponding section</a> for more    information.   </p>   <p class="para">    Migrating the Apache configuration is extremely easy. See the example below    to check the change you need to do:    <div class="example">     <p><b>Example #1 Migrating Apache configuration files for PHP 5</b></p>     <div class="example-contents"><div class="cdata"><pre># change this line:    LoadModule php4_module /php/sapi/php4apache2.dll# with this one:LoadModule php5_module /php/php5apache2.dll</pre></div>     </div>    </div>   </p>   <p class="para">    If your web server is running PHP in CGI mode, you should note that the    CGI version has changed its name from <var class="filename">php.exe</var> to    <var class="filename">php-cgi.exe</var>.    In Apache, you should do something like this:    <div class="example">     <p><b>Example #2 Migrating Apache configuration files for PHP 5, CGI mode</b></p>     <div class="example-contents"><div class="cdata"><pre># change this line:    Action application/x-httpd-php &quot;/php/php.exe&quot; # with this one:Action application/x-httpd-php &quot;/php/php-cgi.exe&quot; </pre></div>     </div>    </div>   </p>   <p class="para">    In other web servers you need to change either the CGI or the ISAPI module    filenames.   </p>  </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration5.cli-cgi.html">CLI and CGI</a></div> <div class="next" style="text-align: right; float: right;"><a href="migration5.functions.html">New Functions</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

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