RE: undefined mysql_connect() ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



frank,

what was/is the output of rpm -qa | grep "php"

use that to tell you what version of php/rpm you have installed. you can
then either get the php-mysql rpm from fedora, or from one of the other
mirror sites.. i think rpmfind.net/com should have it...

once you have it, you can go ahead and do a 'rpm -ivh foo.rpm' and it'll
install for you in the default locations...

don't worry about a newer version of php/mysql for now... let's get this one
tested/up/running 1st.

also, let's stick to the php command line approach for now.. once we get
this up, we can do the apache.. once that's working, then you can think
about upgrading if you need to..

-bruce


-----Original Message-----
From: Frank Whitsell [mailto:frank@xxxxxxxxxxxxx]
Sent: Wednesday, June 22, 2005 8:11 AM
To: bruce
Cc: php-general@xxxxxxxxxxxxx
Subject: RE:  undefined mysql_connect() ???



Yes, updating php and mysql seems like a good idea to me.

Here's the output of httpd -l:

Compiled in modules:
   core.c
   prefork.c
   http_core.c
   mod_so.c

I haven't used yum before (only rpm).  The yum man page presents a number of
commands and options.

I have a couple of questions:

Should I use rpm to remove the currently installed php and mysql packages
before running yum to install (or use yum to remove them), or is removal
necessary?

What's the recommended yum command?  That is, would I want to run "yum
install,
update, or upgrade", or any of those?

How should I specify the pkg name?  I want php4, not php5, and I want mysql
3.23.58 (or later if any) but not mysql 4.

So would I use:

   yum install php, or
   yum install php-4.3, or
   yum install php-4.3.9 to get the same version I have currently installed,
   or what?

Thanks again for your saintly patience.

   --frank--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux