Subject: Re: pkgsrc newbie - How to set compilation options in php5 specifically and in general?
To: Leonardo Rojas <>
From: Mike Parson <>
List: netbsd-users
Date: 02/24/2005 19:11:49
On Thu, Feb 24, 2005 at 05:05:43PM -0500, Leonardo Rojas wrote:
> I'm new to NetBSD.
> I've successfully built apache, php5 and the php5 extensions meta
> package. But even if enable the extension in php.ini, php doesn't
> recognize them. I assume that is because php wasn't complied with the
> extension enabled (ie: --without-mysql).
> Do I have to manually modify the php5 Makefile to enable these extensions?

You need to build pkgsrc/databases/php-mysql

> Is there some interface in pkgsrc to set compilation options analogous
> to the one curses one used in FreeBSD?
> Are there any other good pkgsrc documentation/tutorials besides the
> pkgsrc website?

The archives for this group are a good resource, along with creative use
of the search engines.

Michael Parson