avsm Sun Mar 18 05:13:50 2001 EDT
Modified files:
/phpdoc global.ent
/phpdoc/en/chapters install.xml
Log:
Add notes on installing PHP on OpenBSD
PR:
Submitted by:
Reviewed by:
Obtained from:
Index: phpdoc/global.ent
diff -u phpdoc/global.ent:1.82 phpdoc/global.ent:1.83
--- phpdoc/global.ent:1.82 Thu Mar 15 06:31:35 2001
+++ phpdoc/global.ent Sun Mar 18 05:13:49 2001
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.82 2001/03/15 14:31:35 dams Exp $
+ $Id: global.ent,v 1.83 2001/03/18 13:13:49 avsm Exp $
Contains global "macros" for all the SGML documents.
@@ -81,6 +81,9 @@
<!ENTITY url.nwalsh "http://nwalsh.com/">
<!ENTITY url.nis "http://www.desy.de/~sieversm/ypdoku/ypdoku/ypdoku.html">
<!ENTITY url.nis.book "http://www.oreilly.com/catalog/nfs/noframes.html">
+<!ENTITY url.openbsd "http://www.openbsd.org/">
+<!ENTITY url.openbsd.packages "http://www.openbsd.org/cgi-bin/man.cgi?query=packages">
+<!ENTITY url.openbsd.ports "http://www.openbsd.org/ports.html">
<!ENTITY url.openlink "http://www.openlinksw.com/">
<!ENTITY url.openssl "http://www.openssl.org/">
<!ENTITY url.oracle "http://www.oracle.com/">
Index: phpdoc/en/chapters/install.xml
diff -u phpdoc/en/chapters/install.xml:1.45 phpdoc/en/chapters/install.xml:1.46
--- phpdoc/en/chapters/install.xml:1.45 Tue Mar 6 08:33:04 2001
+++ phpdoc/en/chapters/install.xml Sun Mar 18 05:13:49 2001
@@ -330,6 +330,48 @@
</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>