Mailinglist Archive: opensuse (2831 mails)

< Previous Next >
Re: [SLE] MySql v5 on SuSE 10.0
  • From: Moby <moby@xxxxxxxxxxxxxx>
  • Date: Tue, 11 Jul 2006 17:05:33 -0500
  • Message-id: <44B420AD.5060801@xxxxxxxxxxxxxx>

Dave Howorth wrote:
On Tue, 2006-07-11 at 13:30 -0500, Moby wrote:
Keep in mind the following chain: Apache depends on PHP, PHP depends on MySQL. Updating MySQL can and will have ramifications for packages other than MySQL.

I'm sorry?

Apache is a web server, extremely popular and independent of pretty much
anything else.*

MySQL is a database, very popular and independent of pretty much
anything else.*

PHP is a language, popular among those who care about popularity, and
most often used with a web server, in which case it depends on the web
server and, if you care, on the database.

So what 'chain' are you talking about?

Sure, the MySQL version is important for any programs that depend on it,
but that's a tautology, no?!

Cheers, Dave

* PS Of course, there are dependencies, but neither Apache nor MySQL
depends on PHP.

Dave, you are absolutely correct as to what Apache, PHP, and MySQL are.
Apache, at least in the most popular configuration, invokes PHP via Apache APXS PHP modules. Hence the dependency on your installation of PHP and Apache - the PHP module for Apache is tied to both your PHP installation and your Apache installation. Now, PHP has a vast library of modules, including one for connecting to MySQL. The PHP module for connecting to MySQL invokes MySQL client libraries and the version of the PHP MySQL module you use is very much dependent on the version of the MySQL client library that particular PHP instance was compiled with - hence the tie-in between PHP and MySQL.
Tautological or not, I agree with you that, academically speaking, Apache, PHP, and MySQL are completely orthogonal products. However, as implemented on most systems, especially SuSE 10 (the original question was about nuances of updating to MySQL 5 on SuSE 10) a person will have serious issues, and that is what I had attempted to warn the person about, the possible dangers of simply installing MySQL 5 on a SuSE 10 system that also has Apache and PHP on it.

Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at
Please read the FAQs: suse-linux-e-faq@xxxxxxxx

< Previous Next >