Pablo Chamorro C. wrote:
I installed an static mysql-server 4.0 from
dev.mysql.com as suggested
on the installation docs (not 4.1 nor 5.0 beta) + php 4.3.11.2, but at
install time a missing php-mysql notice appears.
The problem is I can't get a binary php-mysql, not even do a rpmbuild
--rebuild because it seem's there is no such php-mysql-x.x.src.rpm.
Can you clarify how you're installing things, exactly, and what the
problem you're encountering is?
For i386 you can get a php-mysql binary package right here:
http://mirrors.usc.edu/pub/linux/distributions/fedora/updates/3/i386/php-my…
(I haven't checked, but I would assume the various php-* binary packages
are all produced from the php-*.src.rpm, as this would basically consist
of building PHP from the single source code distribution and then
siphoning off the shared libraries, headers, etc into separate
installable packages.)
Try: rpm -ivh php-mysql-4.3.11-2.4.i386.rpm
What's the exact result? Does it install, or does it fail? If it fails,
what is the exact error message?
Does it fail on the dependency for libmysqlclient.so.10? If so, have you
tried the --nodeps option to RPM to force it to install anyway?
If that installs but fails to run (in which case you should check your
apache error log and php error log, if any, for messages), did you try
also installing the MySQL-shared-compat-4.0.24-0.i386.rpm package from
MySQL, which is described as "Dynamic client libraries (including 3.23.x
libraries)"?
Personally, I've considered the Red Hat / Fedora packages for PHP and
MySQL to be a bit of a lost cause; we generally install PHP from source
and use the tarball package release of MySQL.
what can I do? what am I missing if I work with
mysql-server-3.23
instead mysql 4.0? (the version included with fedora core 3?) What else
can I do?
MySQL 3.x has a poorer fulltext search engine and has some limitations
on index sorting and other features which we have to have a couple
workarounds for. In 1.5 we'll be dropping the extra inverse timestamp
indexes which were added to benefit MySQL 3.x; MediaWiki will probably
still run on it but for serious sites a more modern version is highly
recommended.
-- brion vibber (brion @
pobox.com)