Newbie: compiled with --with-dbx but dbx_connect is undefined
| From: | Scott Chapman | Date: | Fri, 01 Oct 2004 04:26:14 +0000 |
| Subject: | Newbie: compiled with --with-dbx but dbx_connect is undefined | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198375@lists.php.net to get a copy of this message | ||
I'm new to PHP and installed as follows (not for production use with Apache 2):
PHP 5.0.2 and Apache 2.0.50 on Suse 9.1.
When I try to use dbx_connect(), I get this:
Fatal error: Call to undefined function dbx_connect() in /www2/htdocs/test1.php on line 9
phpinfo() shows that it was configured --with-dbx:
'./configure' '--with-mysql' '--with-pgsql' '--with-sqlite'
'--with-apxs2=/www2/bin/apxs' '--with-gd' '--with-openssl'
'--with-zlib' '--with-readline' '--with-dbx'
... but there is no DBX section in the phpinfo() output.
In the "make install" output, I saw this:
libtool: install: warning: remember to run `libtool --finish
/home/scott/Download/php-5.0.2/libs'
When I ran it, it said this:
Libraries have been installed in:
/home/scott/Download/php-5.0.2/libs
I know the libraries should be installed someplace a little more public than my Download
subdirectory.
I don't know if this is related to the above problem or not.
Any help would be greatly appreciated!
Scott