Re: Php and MySQL
On Mon, Okt 30, 2000 at 07:04:07 -0800, Kenneth Kowalsky wrote:
> I am using dselect to install php4.0 with apache. It tell it to install the
> mySQL modules (for php) and database files ( for mySQL)
> but when I try to use mysql_connect in php it dies and leaves:
> mysql_connect : Invalid function
> But when I use webmin or telnet to access mySQL it works fine. So I am
> thinking this is a problem to do with php?
> ( FYI, I would like to offer php & mySQL to my webhosting users)
If php4-mysql library is installed it have to be loaded.
either in any script that is intended to use it by placing 'dl(mysql.o)'
somewher at the top of the php-script or loading it from php.ini