PHP + MySQL = Broken?


Subject: PHP + MySQL = Broken?
From: Israel Alvarez (is@isaka.net)
Date: Tue Aug 01 2000 - 21:58:03 MDT


Running YDL CS 1.2, with default install of PHP and Apache (PHP 3.0.14 and
Apache 1.3.11). I need to get PHP talking to MySQL, which I expected to be
straightforward - I've configured many FreeBSD boxes this way.

First problem came with the rpm install of MySQL off the "Tasty Morsels" cd
- it appears to be broken. Downloaded the latest stable version (3.22.32)off
the MySQL site and now that's running fine. When I tried to fire up a
connection to MySQL from PHP, I got an error, apparently the MySQL dynamic
module isn't installed with YDL's distrib of PHP (*why* this is so is beyond
me - like it or not, MySQL is the most widely used linux web database
nowadays). So I download the latest I could find off ftp.linuxppc.org's rpm
archives (does YDL even maintain rpm archives of their own?) The loadable
module is version is php-MySQL-3.0.13-1.ppc.rpm.

Now whenever I enable MySQL support in php3.ini (uncommenting the
extension=mysql.so line - and I have already checked that it's in the
/usr/lib/apache dir) it chokes php altogether - no php files get processed
at all.

What's going on? Can anyone tell me what hoops I still need to jump through?
I just want to get a basic web system up and running. This experience is
making me look longingly at my FreeBSD machines and check up on the Mac port
of FreeBSD.

-- 

Israel Alvarez is at isaka dot net propellerhead without portfolio isaka studio "You are in a twisty maze of standards, all different."



This archive was generated by hypermail 2a24 : Tue Aug 01 2000 - 22:00:56 MDT