mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-17 17:38:54 +00:00

This document remains fairly PHP 4 specific, so it needs an update. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253284 c90b9560-bf6c-de11-be94-00142212c4b1
71 lines
2.6 KiB
XML
71 lines
2.6 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<sect1 xml:id="install.unix.caudium" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Caudium</title>
|
|
<para>
|
|
PHP can be built as a Pike module for the
|
|
<link xlink:href="&url.caudium;">Caudium webserver</link>.
|
|
Follow the simple instructions below to install PHP for Caudium.
|
|
</para>
|
|
<example xml:id="install.unix.caudium.instructions">
|
|
<title>Caudium Installation Instructions</title>
|
|
<screen>
|
|
<![CDATA[
|
|
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
|
|
<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.
|
|
]]>
|
|
</screen>
|
|
</example>
|
|
<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.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
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
|
|
<option role="configure">--with-mysql</option> option.
|
|
</para>
|
|
</note>
|
|
</sect1>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|