install.unix.caudium.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 65 行
HTML
65 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Caudium</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.unix.lighttpd-14.html">Lighttpd 1.4 on Unix systems</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.unix.fhttpd.html">fhttpd related notes</a></div> <div class="up"><a href="install.unix.html">Installation on Unix systems</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="install.unix.caudium" class="sect1"> <h2 class="title">Caudium</h2> <p class="para"> PHP can be built as a Pike module for the <a href="http://caudium.net/" class="link external">» Caudium webserver</a>. Follow the simple instructions below to install PHP for Caudium. </p> <div class="example" id="install.unix.caudium.instructions" name="install.unix.caudium.instructions"> <p><b>Example #1 Caudium Installation Instructions</b></p> <div class="example-contents"><pre><div class="cdata"><pre>1. Make sure you have Caudium installed prior to attempting to install PHP 4. For PHP 4 to work correctly, you will need Pike 7.0.268 or newer. For the sake of this example we assume that Caudium is installed in /opt/caudium/server/.2. Change directory to php-x.y.z (where x.y.z is the version number).3. ./configure --with-caudium=/opt/caudium/server4. make5. make install6. Restart Caudium if it's currently running.7. Log into the graphical configuration interface and go to the virtual server where you want to add PHP 4 support.8. Click Add Module and locate and then add the PHP 4 Script Support module.9. If the documentation says that the 'PHP 4 interpreter isn't available', make sure that you restarted the server. If you did check /opt/caudium/logs/debug/default.1 for any errors related to <filename>PHP4.so</filename>. Also make sure that <filename>caudium/server/lib/[pike-version]/PHP4.so</filename> is present.10. Configure the PHP Script Support module if needed.</pre></div> </pre></div> </div> <p class="para"> You can of course compile your Caudium module with support for the various extensions available in PHP 4. See the reference pages for extension specific configure options. </p> <blockquote><p><b class="note">Note</b>: When compiling PHP 4 with MySQL support you must make sure that the normal MySQL client code is used. Otherwise there might be conflicts if your Pike already has MySQL support. You do this by specifying a MySQL install directory the <span class="option">--with-mysql</span> option. <br /> </p></blockquote> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="install.unix.lighttpd-14.html">Lighttpd 1.4 on Unix systems</a></div> <div class="next" style="text-align: right; float: right;"><a href="install.unix.fhttpd.html">fhttpd related notes</a></div> <div class="up"><a href="install.unix.html">Installation on Unix systems</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?