install/unix/openbsd.xml
093eb6affefe2ef930b08043a668168d2181ecc1
...
...
@@ -4,7 +4,7 @@
4
4
<title>OpenBSD installation notes</title>
5
5
<para>
6
6
This section contains notes and hints specific to installing
7
-
PHP on <link xlink:href="&url.openbsd;">OpenBSD 5.8</link>.
7
+
PHP on <link xlink:href="&url.openbsd;">OpenBSD</link>.
8
8
</para>
9
9
<sect2 xml:id="install.unix.openbsd.packages">
10
10
<title>Using Binary Packages</title>
...
...
@@ -16,8 +16,9 @@
16
16
</simpara>
17
17
<simpara>
18
18
The main package you need to install is <filename>php</filename>,
19
-
which contains the basic engine (plus gettext and iconv). Next, take a look
20
-
at the module packages, such as <filename>php-mysql</filename>
19
+
which contains the basic engine (plus fpm, gettext and iconv) and might be
20
+
available in several versions to choose from. Next, take a look
21
+
at the module packages, such as <filename>php-mysqli</filename>
21
22
or <filename>php-imap</filename>. You need to use the <command>phpxs</command>
22
23
command to activate and deactivate these modules in your &php.ini;.
23
24
</simpara>
...
...
@@ -26,8 +27,8 @@
26
27
<programlisting role="shell">
27
28
<![CDATA[
28
29
# pkg_add php
29
-
# pkg_add php-fpm
30
-
# pkg_add php-mysql
30
+
# pkg_add php-apache
31
+
# pkg_add php-mysqli
31
32
(install the PEAR libraries)
32
33
# pkg_add pear
33
34

...
...
@@ -35,8 +36,8 @@ Follow the instructions shown with each package!
35
36

36
37
(to remove packages)
37
38
# pkg_delete php
38
-
# pkg_delete php-fpm
39
-
# pkg_delete php-mysql
39
+
# pkg_delete php-apache
40
+
# pkg_delete php-mysqli
40
41
# pkg_delete pear
41
42
]]>
42
43
</programlisting>
...
...
@@ -50,9 +51,9 @@ Follow the instructions shown with each package!
50
51
<title>Using Ports</title>
51
52
<simpara>
52
53
You can also compile up PHP from source using the <link xlink:href="&url.openbsd.ports;">ports tree</link>.
53
-
However, this is only recommended for users familiar with OpenBSD. The PHP 4 port
54
-
is split into two sub-directories: core and extensions. The
55
-
extensions directory generates sub-packages for all of the supported
54
+
However, this is only recommended for users familiar with OpenBSD. The PHP port
55
+
is split into core and extensions. The
56
+
extensions generate sub-packages for all of the supported
56
57
PHP modules. If you find you do not want to create some of these modules,
57
58
use the <command>no_*</command> FLAVOR. For example, to skip building
58
59
the imap module, set the FLAVOR to <command>no_imap</command>.
...
...
@@ -80,25 +81,15 @@ Follow the instructions shown with each package!
80
81
</listitem>
81
82
<listitem>
82
83
<simpara>
83
-
The OpenBSD 5.7+ package for the <link xlink:href="&url.gd;">gd</link> extension requires
84
-
XFree86 to be installed. This can be added post-installation (See OpenBSD FAQ#4) by adding
85
-
the <filename>xbase.tgz</filename> file set.
84
+
The OpenBSD package for the <link xlink:href="&url.gd;">gd</link> extension
85
+
requires Xorg to be installed. Unless already installed at base install by
86
+
adding the <filename>xbase.tgz</filename> file set, this can be added at
87
+
post-installation (see
88
+
<link xlink:href="https://www.openbsd.org/faq/faq4.html#FilesNeeded">OpenBSD FAQ#4</link>).
86
89
</simpara>
87
90
</listitem>
88
91
</itemizedlist>
89
92
</sect2>
90
-
91
-
<sect2 xml:id="install.unix.openbsd.older">
92
-
<title>Older Releases</title>
93
-
<simpara>
94
-
Older releases of OpenBSD used the FLAVORS system to compile up
95
-
a statically linked PHP. Since it is hard to generate binary packages using
96
-
this method, it is now deprecated. You can still use the old stable
97
-
ports trees if you wish, but they are unsupported by the OpenBSD team.
98
-
If you have any comments about this, the current maintainer for the port
99
-
is Anil Madhavapeddy (avsm at openbsd dot org).
100
-
</simpara>
101
-
</sect2>
102
93
</sect1>
103
94

104
95
<!-- Keep this comment at the end of the file
105
96