Both distro's are FC4.
No. I don't use RPM's. I did see a bit where you could just install
a php5-mysql package if you used packages.
Maybe I could just install a new PHP and then the php5-mysql package?
My current PHP is compiled for Oracle (on the same box as MySQL is installed).
Code:
./configure' \
--with-oci8-instant-client=/home/oinstall/instantclient_10_2' \
--prefix=/usr/local/php' \
--with-apxs=/usr/local/apache1.3.31/sbin/apxs' \
--enable-sigchild' \
--with-config-file-path=/usr/local/apache1.3.31/etc' \
I think I'm stuck in an Oracle head-space ;-)
But that's how I got to wondering, how to rebuild PHP if there isn't a local MySQL install?
This should be basic. Shouldn't it?
BTW: Maybe I should add, it's been a few years since I used MySQL.
I have an old application that I'm trying to revive for connection testing.
the db_connect.inc
Code:
<?php
$dbhost = 'mach4.mynet.com';
$dbuser = 'mysql';
$dbpass = 'password';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die
('Error connecting to mysql');
$dbname = 'test';
mysql_select_db($dbname);
?>