Subject: Re: Installing Apache-PHP-Mysql & other related apache modules
To: mackstann <mack@incise.org>
From: dkwok <dkwok@iware.com.au>
List: netbsd-users
Date: 03/21/2003 11:41:41
mackstann wrote:
> On Fri, Mar 21, 2003 at 10:23:57AM +1100, dkwok wrote:
> 
>>The phpinfo() did show the mysql module details however config command 
>>details show that --without-mysql option was used in compiling the apache??
> 
> 
> That just means it's not compiled in statically, and that's why you have
> to install the php4-mysql package, which has the php mysql module that
> gets loaded.
> 
> 
>>The connect script is:
>>dbhost="localhost";
>>dbuser="www";
>>dbpass=password('indy');
>>$db=mysql_connect($dbhost,$dbuser,$dbpass) or die("Cannot connect.");
>>It is just silent.
> 
> 
> Well, just doing that alone shouldn't output anything.. You gotta select
> a db and do some queries and whatnot.
> 
Thanks. It is in fact working.

However, is there any order when I install these packages cause there 
are so many of them which may be useful later on.

All my "or die" function does not work. I think I have to turn on the 
debug mode. How could I do that?

Cheers
David