List:General Discussion« Previous MessageNext Message »
From:Brian.Duke Date:September 25 2002 11:35pm
Subject:RE: OT Re: Mysql, PHP and a wrapper
View as plain text  
whew, I found it. I looked at my installed rpm's ('rpm -q php')
found the install php 4.1.2-7.3.4. Tried to remove ('php -e php*.rpm')
got multiple dependent errors. That when I noticed I had about 6 rpm's 
had installed 6 different flavors of php. I uninstalled all and reinstalled 
just php-4.1.2-7.3.4.rpm and php-mysql-4.1.2-7.3.4.rpm and finally
everything works good.

I noticed that sometime in the past I somehow installed an older version of
php
but a different version of php-mysql. Not sure how I did that. Usually linux
is
fairly goof proof when it comes to rpm's. <shakes his head> sometimes I'm my
own worst wenzu.

-----Original Message-----
From: Danny Haworth [mailto:dan@stripped]
Sent: Wednesday, September 25, 2002 1:54 AM
To: mysql@stripped
Subject: OT Re: Mysql, PHP and a wrapper


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OT

Filter: query , sql

Hi Brian,


| I'm running apache-1.3.23-14 on a redhat 7.3 system.
| I have installed the php-rpm and the php_mysql.rpm from Redhat.
| installed php-4.1.2-7.3.4 and php-mysql-4.1.2-7.3.4.
|
| Cannot connect to my mysql-3.23.49-3 database.
|
| If I use "mysql_connect()" only, I get "Fatal error: Call to undefined
| function: mysql_connect() in /var/www/html/admin.php on line 9"

I had massive problems with the redhat php rpm's..

get the source from the php homepage and include the option
'--with-mysql' in the './configure' arguments.

HTH

danny
- --

Danny Haworth
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ge2 System Administrator
Gas~Elec Safety Systems
Tel : 01895 422 997
Email : dan@stripped (mailto:dan@stripped)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9kWukUKf+497XC3QRAhU6AJ0eK4hnb8ARkJ1QJHTLg24mN5nV2gCeJl4M
Bbd+8gXfFtsDpu2HCu/DgjI=
=ZBdO
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread120519@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-Brian.Duke=level3.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Mysql, PHP and a wrapperBrian.Duke25 Sep
  • OT Re: Mysql, PHP and a wrapperDanny Haworth25 Sep
  • Re: Mysql, PHP and a wrapperPablo25 Sep
RE: OT Re: Mysql, PHP and a wrapperBrian.Duke26 Sep