Re: [jamdb-user] (no subject)
Status: Beta
Brought to you by:
mschiff
|
From: Marc S. <mar...@li...> - 2003-02-06 09:05:55
|
* John Wentworth schrieb am 06.02.03 um 05:32 Uhr: > I checked that thiers no mistakes in what I typed definately something else > and mysql is working great I can connect to database jamdb and query it > without a problem > it seems to be a php problem > database is called jamdb and that's what I have in my config > when I try a sample php script of my own it doesn't work says > Fatal error: Call to undefined function: mysql_connect() in > /var/www/html/mysql.php on line 13 > my php_info can be found at > http://votum76.sytes.net/hello.php I get an Access Denied. > > someone in #mysql on effnet told me that redhat 8.0's php > was installed uncorrectly to work with mysql_connect or mysql_* statements > it only has a dbx section no mysql section > I'm really not sure what's wrong > if it needs to be recompiled what options do I need? Maybe you have to configure the mysql plugin in php.ini? In my php.ini is a line that says: extension=mysql.so This depends on whether mysql is compiled in or as plugin... -Marc -- ------------------------------------------- Take back the Net! http://www.anti-dmca.org ------------------------------------------- |