Re: Mysql

From: Date: Mon, 30 Oct 2000 04:25:52 +0000
Subject: Re: Mysql
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4032@lists.php.net to get a copy of this message
create a php file with these lines of code: <? phpinfo(); ?> this will tell you information about your server and PHP environment. See if mysql is enabled. If you dont see anything re: mysql in the output then mysql functionality does not exist. You will have to re-compile PHP and maybe Apache (if its not DSO). when you compile PHP use the --with-mysql = PATH_TO_MYSQL option, this is assuming you have mysql installed. Good luck /Cody Caughlan Nicolas Raitman wrote: > Hi to all. I will go right into the point. I have Mysql installed on a Red > Hat Linux 7 box with php4 and apache also installed. When I access a local > webpage (using virtualdomains) and that page has: > > $cont = mysql_connect($host, $user, $pass); > > I receive the error call to unsuppoted function. What is wrong? Where do I > have to enable mySQL functions? > > Thanks a lot, > Nicolas > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#4032) next »