PHP and MySQL in red hat 7.0

From: Date: Sat, 20 Jan 2001 09:32:35 +0000
Subject: PHP and MySQL in red hat 7.0
Groups: php.install 
Request: Send a blank email to php-install+get-1716@lists.php.net to get a copy of this message
Dear Rasmus, I checked the php.ini file and the entry "extension=mysql.so" already exists under the "dynamic extensions" section. But the problem still exists. Please help me. regards, Willy > ---------- > From: Rasmus Lerdorf[SMTP:rasmus@linuxcare.com] > Sent: Saturday, January 20, 2001 2:59 PM > To: VWilliam@NIIT.com > Cc: mwagner@mysql.com; mysql@lists.mysql.com; php-install@lists.php.net > Subject: Re: [PHP-INST] PHP and MySQL in red hat 7.0 > > In your php.ini file: > > extension=mysql.so > > -Rasmus > > On Sat, 20 Jan 2001 VWilliam@NIIT.com wrote: > > > Thanks Matt. > > MySQL is finally working. > > But the problem now is that PHP is not recognizing its MySQL > > functions. The error I am getting is: > > > > Fatal error: Call to undefined function: mysql_pconnect() in > > /var/www/html/Willy/MySQL/test1.php on line 28 > > > > Well, the php_mysql RPM has been installed along with mod_php4.rpm. > > PHP can recognize its own functions but not those of MySQL. I checked > > for the RPMs to be installed and I have installed all the php RPMs > > ( including php-mysql RPM). despite doing all that I get this error. > MySQL > > is running perfect as I get the status when I type "mysqladmin -u=root > > status". > > Please help me. This is very urgent for me. > > > > Thank You. > > Willy > > > > > ---------- > > > From: Matt Wagner[SMTP:mwagner@mysql.com] > > > Sent: Friday, January 19, 2001 4:29 PM > > > To: VWilliam@NIIT.com > > > Cc: mysql@lists.mysql.com > > > Subject: Re: socket problem in red hat. > > > > > > VWilliam@NIIT.com writes: > > > > Hi there, > > > > I am setting up a lab on MySQL and I am not able to. > > > > Its a red hat 7.0 server and has PHP installed and working with > apache. > > > > I installed MySQL from the very RPMs Red Hat provided. > > > > Whenever I try to start the server, I get the error message: > > > > > > > > Can't connect to local MySQL server through socket '/var/lib/mysql/m > > > > ysql.sock' (111) > > > > > > > > Well the file /var/lib/mysql/mysql.sock exists on the computer. I > can't > > > > understand what this socket problem is and I went through all > > > documentation > > > > and couldn't find a solution to this. Can you please provide a > solution > > > to > > > > this > > > > at the earliest. I have students piling on my head and I have > already > > > > skipped my deadline of setting the server up. > > > > > > Hi! > > > > > > We have seen this problem (although I have not personally > > > investigated) with many RH7+default_mysql. The quick and easy solution > > > (until I figure out further) is to download the MySQL RPMs from: > > > > > > http://www.mysql.com/downloads/mysql-3.23.html > > > > > > Uninstall the standard RedHat 7.0 MySQL RPMs, then reinstall > > > ours. Like I said, I'm not sure what RedHat is doing wrong with their > > > MySQL RPMs... But I have seen this numerous times with regard to their > > > supplied RPMs. Something is amiss. > > > > > > I will investigate more. > > > > > > > > > Regards, > > > > > > Matt > > > > > > -- > > > __ ___ ___ ____ __ > > > / |/ /_ __/ __/ __ \/ / Matt Wagner <mwagner@mysql.com> > > > / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Îf5¤S_ÄjÏŸuÉÎ > > > 7http://www.mysql.com/ > > > /_/ /_/\_, /___/\___\_\___/ River Falls, Wisconsin, USA > > > <___/ Developer > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.install (#1716) next »