Re: installing php4 under OpenBSD 3.3 with mysql support
| From: | Marcus Fredriksson | Date: | Sun, 01 Jun 2003 20:00:09 +0000 |
| Subject: | Re: installing php4 under OpenBSD 3.3 with mysql support | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10991@lists.php.net to get a copy of this message | ||
"Marcus Fredriksson" <darkmarc666@hotmail.com> wrote in message
news:20030601104157.98927.qmail@pb1.pair.com...
> Hi all,
>
> I have a freshly installed OpenBSD 3.3-box with mysql 3.23.55 and wish to
> compile and install php4 from the ports-tree. The latest php4 in the
> ports-branch for OpenBSD 3.3 is PHP 4.2.3. How do I compile php with mysql
> support without having to build everything under
> /usr/ports/www/php4/extensions/?
I'll answer myself on this one. :-) Upon inspecting the makefile in
/usr/ports/www/php4/extensions, I found that the possible FLAVORS were
"inverted". That is, in order to compile php4 with mysql-support but nothing
else, I needed to set the FLAVOR environment variable to "no_pdf no_pgsql
no_shmop no_snmp no_sybase_ct no_.............." and so on.
///Marcus