Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2004 07:33:52 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        Scott Pell <scott@apid.com>
Cc:        steve@havk.org
Subject:   Re: Pear-DB issues
Message-ID:  <20040908053352.GA99130@graf.pompo.net>
In-Reply-To: <20040908020047.GA28228@apid.com>
References:  <20040908020047.GA28228@apid.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le Mer  8 sep 04 =E0  4:00:47 +0200, Scott Pell <scott@apid.com>
 =E9crivait=A0:
> > php test.php
> Standard Message: DB Error: extension not found
> Standard Code: -25
> DBMS/User Message: mysql://sasql:sa0sekrit@localhost/spamassassin
> DBMS/Debug Message: mysql://sasql:sa0sekrit@localhost/spamassassin
                      ~~~~~
You are trying to use MySQL...

> Pear doesn't even get to the point where it tries to connect to the
> database, it barfs when it loads up.
>=20
> I have noticed that Pear (and PHP) install Pear under /usr/local/share/pe=
ar
> but the pear config says otherwise.  I have tried changing the pear config
> to point to /usr/local/share/pear same errors result. =20
>=20
> What am I missing? There is very little documentation, so any guidance wo=
uld
> be greatly appreciated.
>=20
>=20
> PHP Extensions:
>=20
> web1# ll /usr/local/lib/php/20020429/
> total 1846
> -r--r--r--  1 root  wheel    12563 Sep  7 17:44 gettext.so
> -r--r--r--  1 root  wheel  1607689 Sep  7 17:45 mbstring.so
> -r--r--r--  1 root  wheel     9704 Sep  7 17:44 mhash.so
> -r--r--r--  1 root  wheel    64663 Sep  7 17:46 openssl.so
> -r--r--r--  1 root  wheel    80950 Sep  7 17:43 pcre.so
> -r--r--r--  1 root  wheel    46892 Sep  7 17:43 session.so
> -r--r--r--  1 root  wheel    31277 Sep  7 17:43 xml.so

=2E..but the extension mysql.so has not been installed. Try to reinstall
databases/php4-mysql.
--=20
Th. Thomas.

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBPpnAc95pjMcUBaIRAhfaAKCG/Dc004h+0GcWS88xvqMULzTpKACfZdoX
1a4oeYF3HNBy6GaqM9h5MOU=
=zEtR
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908053352.GA99130>