mirror of
https://github.com/macintoshplus/doc-en.git
synced 2026-04-29 19:53:11 +02:00
0ffedbc2d7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67451 c90b9560-bf6c-de11-be94-00142212c4b1
66 lines
2.2 KiB
XML
66 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.1 $ -->
|
|
<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>
|
|
<![CDATA[
|
|
$ cd /usr/ports/www/php4
|
|
$ make show VARNAME=FLAVORS
|
|
(choose which flavors you want from the list)
|
|
$ env FLAVOR="imap gettext ldap mysql gd" make install
|
|
$ /usr/local/sbin/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>
|
|
|
|
<!-- 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
|
|
--> |