avsm Sat Nov 15 06:37:50 2003 EDT
Modified files:
/phpdoc/en/chapters install.openbsd.xml
Log:
Update to Openbsd 3.4
Index: phpdoc/en/chapters/install.openbsd.xml
diff -u phpdoc/en/chapters/install.openbsd.xml:1.4
phpdoc/en/chapters/install.openbsd.xml:1.5
--- phpdoc/en/chapters/install.openbsd.xml:1.4 Fri Oct 24 08:06:24 2003
+++ phpdoc/en/chapters/install.openbsd.xml Sat Nov 15 06:37:50 2003
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<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 3.2</ulink>.
+ PHP on <ulink url="&url.openbsd;">OpenBSD 3.4</ulink>.
</para>
<sect2 id="install.openbsd.packages">
<title>Using Binary Packages</title>
@@ -15,30 +15,37 @@
The files you need can be found on your OpenBSD CD or on the FTP site.
</simpara>
<simpara>
- The main package you need to install is <filename>php4-core-4.2.3.tgz</filename>,
+ The main package you need to install is <filename>php4-core-4.3.3.tgz</filename>,
which contains the basic engine (plus gettext and iconv). Next, take a look
- at the module packages, such as <filename>php4-mysql-4.2.3.tgz</filename>
- or <filename>php4-imap-4.2.3.tgz</filename>. You need to use the
<command>phpxs</command>
+ at the module packages, such as <filename>php4-mysql-4.3.3.tgz</filename>
+ or <filename>php4-imap-4.3.3.tgz</filename>. You need to use the
<command>phpxs</command>
command to activate and deactivate these modules in your &php.ini;.
</simpara>
+ <simpara>
+ Due to an error in the OpenBSD 3.4 packages, the
<filename>php4-gd-4.3.3-no_x11</filename>
+ package was not generated. You can still use the
<filename>php4-gd-4.3.3</filename>
+ package, but it requires <filename>xbase34.tgz</filename> to be installed. The
-stable
+ branch of the ports tree has corrected this error, and a replacement package is
being
+ generated.
+ </simpara>
<example id="install.openbsd.ports.example">
<title>OpenBSD Package Install Example</title>
<programlisting>
<![CDATA[
-# pkg_add php4-core-4.2.3.tgz
+# pkg_add php4-core-4.3.3.tgz
# /usr/local/sbin/phpxs -s
# cp /usr/local/share/doc/php4/php.ini-recommended /var/www/conf/php.ini
(add in mysql)
-# pkg_add php4-mysql-4.2.3.tgz
+# pkg_add php4-mysql-4.3.3.tgz
# /usr/local/sbin/phpxs -a mysql
(add in imap)
-# pkg_add php4-imap-4.2.3.tgz
+# pkg_add php4-imap-4.3.3.tgz
# /usr/local/sbin/phpxs -a imap
(remove mysql as a test)
-# pkg_delete php4-mysql-4.2.3
+# pkg_delete php4-mysql-4.3.3
# /usr/local/sbin/phpxs -r mysql
(install the PEAR libraries)
-# pkg_add php4-pear-4.2.3.tgz
+# pkg_add php4-pear-4.3.3.tgz
]]>
</programlisting>
</example>
@@ -52,7 +59,7 @@
<simpara>
You can also compile up PHP from source using the <ulink
url="&url.openbsd.ports;">ports tree</ulink>.
However, this is only recommended for users familiar with OpenBSD. The PHP4 port
- is split into three sub-directories: core, extensions and pear. The
+ is split into two sub-directories: core and extensions. The
extensions directory generates sub-packages for all of the supported
PHP modules. If you find you do not want to create some of these modules,
use the <command>no_*</command> FLAVOR. For example, to skip building