Source of: /manual/en/install.unix.caudium.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/install.unix.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'install.unix.caudium.php',
1 => 'Caudium',
),
'up' =>
array (
0 => 'install.unix.php',
1 => 'Installation on Unix systems',
),
'prev' =>
array (
0 => 'install.unix.lighttpd-14.php',
1 => 'Lighttpd 1.4 on Unix systems',
),
'next' =>
array (
0 => 'install.unix.fhttpd.php',
1 => 'fhttpd related notes',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<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">
<p><b>Example #1 Caudium Installation Instructions</b></p>
<div class="example-contents screen">
<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/server
4. make
5. make install
6. 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
PHP4.so. Also make sure that
caudium/server/lib/[pike-version]/PHP4.so
is present.
10. Configure the PHP Script Support module if needed.
</pre></div>
</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><?php manual_footer(); ?>