Add notes on installing PHP on OpenBSD

PR:
Submitted by:
Reviewed by:
Obtained from:


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43808 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anil Madhavapeddy 2001-03-18 13:13:49 +00:00
parent 9d79c974ef
commit fb7583480f

View file

@ -330,6 +330,48 @@ Paul Mckay.
</sect2>
</sect1>
<sect1 id="install.openbsd">
<title>Unix/OpenBSD installs</title>
<para>
This section contains notes and hints specific to installing
PHP on <ulink url="&url.openbsd;">OpenBSD</ulink>.
</para>
<sect2 id="install.openbsd.ports">
<title>Using Ports</title>
<simpara>
This is the recommended method of installing PHP on OpenBSD, as it will have
the latest patches and security fixes applied to it by the maintainers. To
use this method, ensure that you have a <ulink url="&url.openbsd.ports;">
recent ports tree</ulink>. Then simply find out which flavors you wish
to install, and issue the <command>make install</command> command. Below
is an example of how to do this.
</simpara>
<example id="install.openbsd.ports.example">
<title>OpenBSD Ports Install Example</title>
<programlisting>
$ cd /usr/ports/www/php4
$ make show VARNAME=FLAVORS
(choose which flavors you want from the list)
$ make install FLAVOR="imap gettext ldap mysql gd pdflib"
$ php4-enable
</programlisting>
</example>
</sect2>
<sect2 id="install.openbsd.packages">
<title>Using Packages</title>
<simpara>
There are pre-compiled packages available for your release
of <ulink url="&url.openbsd;">OpenBSD</ulink>. These integrate
automatically with the version of Apache installed with the OS.
However, since there are a large number of options (called
<emphasis>flavors</emphasis>) available for this port,
you may find it easier to compile it from source using the ports tree.
Read the <ulink url="&url.openbsd.packages;">packages(7)</ulink>
manual page for more information in what packages are available.
</simpara>
</sect2>
</sect1>
<sect1 id="install.macosx">
<title>Unix/Mac OS X installs</title>
<para>