Subject: Re: can't connect to mysql from php ,NetBSD 3.0
To: None <email@example.com>
From: Jahislove <firstname.lastname@example.org>
Date: 03/20/2006 22:13:32
i try to install php-mysql as you said , but here is the log :
===> Installing for php-mysql-4.4.1nb2
===> php-mysql-4.4.1nb2 is already installed - perhaps an older version?
*** If so, you may use either of:
*** - "pkg_delete php-mysql-4.4.1nb2" and "/usr/bin/make reinstall" to
*** - "/usr/bin/make update" to rebuild the package and all of its
*** - "/usr/bin/make replace" to replace only the package without
*** dependencies, risking various problems.
*** Error code 1
by the way , with a phpinfo()in index.php , I get this :
Configure Command './configure' '--without-mysql' '--without-iconv'
'--enable-memory-limit' '--enable-track-vars' '--enable-ipv6'
'--prefix=/usr/pkg' '--host=mipsel--netbsd' '--mandir=/usr/pkg/man'
it seem that php is installed without mysql , but I don't know how to
install with mysql .
can you tell me what to do pls?
Rowdy a écrit :
> Jahislove wrote:
>> hello all ,
>> i am under NetBSD 3.0
>> and i have installed apache/php/mysql as described on this wiki
>> any idea of the problem?
>> is it possible that the ap-php isn't working and i must install a
>> php-mysql module?
> Yes, you do need to install databases/php-mysql.
> The wiki seems to have skipped that, however php-mysql would likely be
> installed as a dependency of phpBB or whatever else was installed.