Pear-DB issues
Thierry Thomas
thierry at FreeBSD.org
Tue Sep 7 22:34:16 PDT 2004
Le Mer 8 sep 04 à 4:00:47 +0200, Scott Pell <scott at apid.com>
écrivait :
> > 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.
>
> I have noticed that Pear (and PHP) install Pear under /usr/local/share/pear
> but the pear config says otherwise. I have tried changing the pear config
> to point to /usr/local/share/pear same errors result.
>
> What am I missing? There is very little documentation, so any guidance would
> be greatly appreciated.
>
>
> PHP Extensions:
>
> 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
...but the extension mysql.so has not been installed. Try to reinstall
databases/php4-mysql.
--
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040908/2d553aef/attachment.bin
More information about the freebsd-ports
mailing list