RE: [PHP] undefined mysql_connect() ???

2005-06-22 Thread bruce
s 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:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 8:11 AM To: bruce Cc: php-general@lists.php.net Subject: RE: [PHP] undefined mysql

Re: [PHP] undefined mysql_connect() ???

2005-06-22 Thread John Nichel
Frank Whitsell wrote: Just look on your install CD's for the php-mysql RPM. If you don't have the CD's, get it from here http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/Fedora/RPMS/ Once you have it... rpm -ivh php-mysql-4.3.9-3.i386.rpm That's the version which ship

RE: [PHP] undefined mysql_connect() ???

2005-06-22 Thread Frank Whitsell
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

RE: [PHP] undefined mysql_connect() ???

2005-06-22 Thread bruce
'? -bruce -Original Message- From: Frank Whitsell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 4:24 PM To: bruce Cc: php-general@lists.php.net Subject: RE: [PHP] undefined mysql_connect() ??? Sheesh, the electric power has just been off for almost an hour! Here's the result

Re: [PHP] undefined mysql_connect() ???

2005-06-21 Thread JamesBenson
With the fedora core 3 apache/php RPM packages im sure php is loaded statically instead of dynamically, that would be the reason why the loadModule directive is not in httpd.conf, in my setup apache was not compiled with --enable-so i tried upgrading the PHP version but found having to recompile

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread Frank Whitsell
Sheesh, the electric power has just been off for almost an hour! Here's the result of running "rpm -qa | grep -i php": php-4.3.9-3 php-ldap-4.3.9-3 php-pear-4.3.9-3 The o/s is Fedora Core 3, and I selected the Server installation, which also automatically installed apache 2.0.52, php 4.3.9,

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread bruce
tsell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 1:59 PM To: bruce Cc: php-general@lists.php.net Subject: RE: [PHP] undefined mysql_connect() ??? Thanks for your reply, Bruce. I hadn't thought of running it from the command-line as a test. Here is the entire code and the result (whi

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread Frank Whitsell
Thanks for your reply, Bruce. I hadn't thought of running it from the command-line as a test. Here is the entire code and the result (which was the same): Script started on Tue 21 Jun 2005 03:49:17 PM CDT THE TEST CODE = [EMAIL PROTECTED] tst]$ cat mysqltst.php $dbh = my

RE: [PHP] undefined mysql_connect() ???

2005-06-21 Thread bruce
frank... try creating a really simple php app that hist the mysql db, and run it from the php/command line interface.. does it work properly?? -bruce -Original Message- From: Frank Whitsell [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 1:09 PM To: php-general@lists.php.net Sub

Re: [PHP] undefined mysql_connect() ???

2005-06-21 Thread John Nichel
Frank Whitsell wrote: I just installed Fedora Core 3, which also installed apache 2.0.52, php 4.3.9, and mysql 3.23.58. All this installed with RPM's? You'll need the php-mysql rpm. Should be on your install CD's. Or here if you don't have the CD's... http://download.fedora.redhat.com