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

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299643 c90b9560-bf6c-de11-be94-00142212c4b1
120 lines
3.9 KiB
XML
120 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<chapter xml:id="install.unix" xmlns="http://docbook.org/ns/docbook">
|
|
<title>Installation on Unix systems</title>
|
|
<para>
|
|
This section will guide you through the general configuration and
|
|
installation of PHP on Unix systems. Be sure to investigate any
|
|
sections specific to your platform or web server before you begin
|
|
the process.
|
|
</para>
|
|
<para>
|
|
As our manual outlines in the <link linkend="install.general">General
|
|
Installation Considerations</link> section, we are mainly dealing with
|
|
web centric setups of PHP in this section, although we will cover
|
|
setting up PHP for command line usage as well.
|
|
</para>
|
|
<para>
|
|
There are several ways to install PHP for the Unix platform, either
|
|
with a compile and configure process, or through various
|
|
pre-packaged methods. This documentation is mainly focused around
|
|
the process of compiling and configuring PHP. Many Unix like systems
|
|
have some sort of package installation system. This can assist in
|
|
setting up a standard configuration, but if you need to have a
|
|
different set of features (such as a secure server, or a different
|
|
database driver), you may need to build PHP and/or your web server.
|
|
If you are unfamiliar with building and compiling your own software,
|
|
it is worth checking to see whether somebody has already built a
|
|
packaged version of PHP with the features you need.
|
|
</para>
|
|
<para>
|
|
Prerequisite knowledge and software for compiling:
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>
|
|
Basic Unix skills (being able to operate "make" and a C
|
|
compiler)
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
An ANSI C compiler
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
flex: Version 2.5.4
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
bison: Version 1.28 (preferred), 1.35, or 1.75
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
A web server
|
|
</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>
|
|
Any module specific components (such as <acronym>GD</acronym>,
|
|
<acronym>PDF</acronym> libs, etc.)
|
|
</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</para>
|
|
|
|
<para>
|
|
The initial PHP setup and configuration process is controlled by the
|
|
use of the command line options of the <command>configure</command>
|
|
script. You could get a list of all available options along with short
|
|
explanations running <command>./configure --help</command>.
|
|
Our manual documents the different options separately. You will
|
|
find the <link linkend="configure">core options in the appendix</link>,
|
|
while the different extension specific options are descibed on the
|
|
reference pages.
|
|
</para>
|
|
|
|
<para>
|
|
When PHP is configured, you are ready to build the module and/or
|
|
executables. The command <command>make</command> should
|
|
take care of this. If it fails and you can't figure out why, see
|
|
the <link linkend="install.problems">Problems section</link>.
|
|
</para>
|
|
|
|
<!-- web server specific nodes -->
|
|
&install.unix.apache1;
|
|
&install.unix.apache2;
|
|
&install.unix.lighttpd-14;
|
|
&install.unix.sun;
|
|
&install.unix.commandline;
|
|
<!-- operating system specific nodes -->
|
|
&install.unix.hpux;
|
|
&install.unix.openbsd;
|
|
&install.unix.solaris;
|
|
<!-- distribution specific nodes -->
|
|
&install.unix.debian;
|
|
|
|
</chapter>
|
|
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|