note 35920 added to install.openbsd
| From: | 0429196301 at netcabo dot pt | Date: | Fri, 19 Sep 2003 05:54:59 +0000 |
| Subject: | note 35920 added to install.openbsd | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56743@lists.php.net to get a copy of this message | ||
Ok this is by no mean a HOW TO or anything but the possible registry of
what I have been throw to install the package PHP4 and put it to work
with Apache 1.27 under OpenBSD 3.3 WHILE using Apache chrooted into
/var/www.
step 1:
pkg_add <your mirror>/php4-core-4.2.3p1.tgz
(easy right?)
step 2:
find libphp4.so wich will probably be at /usr/local/lib/php/modules
and copy it to /var/www/libexec
step 3:
edit the httpd.conf at /var/www/conf
(you may need root access to change the file permissions)
and insert this lines:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php
step 4:
Start or restart the server normally, without the -u flag.
----
Manual Page -- http://www.php.net/manual/en/install.openbsd.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35920
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35920&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35920&report=yes