Subject: Re: can't connect to mysql from php ,NetBSD 3.0
To: None <port-cobalt@netbsd.org>
From: Jahislove <jahislove@wanadoo.fr>
List: port-cobalt
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
upgrade properly
*** - "/usr/bin/make update" to rebuild the package and all of its
dependencies
*** - "/usr/bin/make replace" to replace only the package without
re-linking
*** 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'
'--disable-posix' '--with-config-file-path=/usr/pkg/etc'
'--with-exec-dir=/usr/pkg/libexec/php4' '--with-regex=system'
'--enable-memory-limit' '--enable-track-vars' '--enable-ipv6'
'--with-openssl=/usr' '--with-apxs2=/usr/pkg/sbin/apxs'
'--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
>> http://wiki.onetbsd.org/index.php/How_to_install_a_LAMP_Server
>>
> <snip>
>>
>> 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.
>
> Rowdy
>
>