From 31ea0382c01af87eb5ae5cdaffa7e461097838d3 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Sun, 23 Nov 2003 17:47:00 +0000 Subject: [PATCH] update with some FAQs for openbsd (apache chroot and the gd package) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144791 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/install.openbsd.xml | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/chapters/install.openbsd.xml b/chapters/install.openbsd.xml index 49f7122b68..edf6e1d2af 100644 --- a/chapters/install.openbsd.xml +++ b/chapters/install.openbsd.xml @@ -1,5 +1,5 @@ - + Unix/OpenBSD installs @@ -21,13 +21,6 @@ or php4-imap-4.3.3.tgz. You need to use the phpxs command to activate and deactivate these modules in your &php.ini;. - - Due to an error in the OpenBSD 3.4 packages, the php4-gd-4.3.3-no_x11 - package was not generated. You can still use the php4-gd-4.3.3 - package, but it requires xbase34.tgz to be installed. The -stable - branch of the ports tree has corrected this error, and a replacement package is being - generated. - OpenBSD Package Install Example @@ -66,6 +59,33 @@ the imap module, set the FLAVOR to no_imap. + + Common Problems + + + The default install of Apache runs inside a + chroot(2) jail, which will restrict PHP scripts to + accessing files under /var/www. You will therefore need to create a + /var/www/tmp directory for PHP session files to be stored, or use an + alternative session backend. In addition, database sockets need to be placed inside the + jail or listen on the localhost interface. If you use network functions, + some files from /etc such as /etc/resolv.conf and + /etc/services will need to be moved into /var/www/etc. + The OpenBSD PEAR package automatically installs into the correct chroot directories, so + no special modification is needed there. More information on the OpenBSD Apache is available + in the OpenBSD FAQ. + + + + + The OpenBSD 3.4 package for the gd extension requires + XFree86 to be installed. If you do not wish to use some of the font features that + require X11, install the php4-gd-4.3.3-no_x11.tgz package instead. + + + + + Older Releases