Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

am 07.11.2007 18:29:47 von Joel Fireman

Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

I've been testing Joomla as a content manager for the County offices,
and it looks pretty good. Unfortunately, I decided to upgrade it from
the 1.0.13 version to 1.5 as we get ready to go live with the web
site... and the update installation gives an error in XML processing,
which seems (from what I've been able to dredge up in forum
discussions) to stem from a known bug in PHP 5.0.4...

I've seen this same error from a couple of other programs that want to
upload XML data to PHP based server software, too, so I'm inclined to
believe the problem is on the server side and that it has at least
something to do with PHP, i.e. either a bug or at least a setup/config
problem...

So I decided to upgrade the PHP from 5.0.4 to 5.2.4, but I couldn't
find a binary set for Fedora 4, so it has to be compiled.... and I
can't get it to install.

Actually, that's not quite true - I did get it to install with the
base config, but that didn't include some needed stuff (e.g. mysqli),
and when I took the config parameters from the 5.0.4 version (from the
output of aboutphp.php) and tried those with the config build, it
complained about not finding apxs. I don't find apxs anywhere on the
system, so I'm stuck there (as far as building the PHP 5.2.4).

The install docs from php.net call for you to build Apache from
source, which I gather will create apxs as part of the build, but -
having now broken PHP and the blogging and the old Joomla which depend
on it (even phpmyadmin no longer works, because the installed PHP
doesn't include mysqli) - I am really reluctant to continue on and
break httpd also...

Any advice? Is building Apache really the thing to do here, or is
there some other way to add the missing mysql stuff to the new PHP, or
should I keep looking for PHP 5.2.x binaries for Fedora 4, or... what?

Re: Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

am 07.11.2007 19:19:11 von Brendan Gillatt

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joel Fireman wrote:
> Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4
>
> Any advice? Is building Apache really the thing to do here, or is
> there some other way to add the missing mysql stuff to the new PHP, or
> should I keep looking for PHP 5.2.x binaries for Fedora 4, or... what?
>

5.2.x is still in the dev repositories. have a look in
download.fedora.redhat.com/pub/fedora/linux/development/i386 /os/Packages/
for one.

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFHMgGfkA9dCbrNdDMRApo7AJ9FjY1LX2Ba+lP09bkwwqpkjHwwZQCf WWv7
twsUNFSERJOpbt/2ZPP//HA=
=IF6l
-----END PGP SIGNATURE-----

Re: Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

am 08.11.2007 00:48:10 von Joel Fireman

On Wed, 07 Nov 2007 18:19:11 +0000, Brendan Gillatt
wrote:

>5.2.x is still in the dev repositories. have a look in
>download.fedora.redhat.com/pub/fedora/linux/development/i38 6/os/Packages/
>for one.

Thanks - I tried it, but of course, rpm doesn't want to install it -
15 failed dependencies... and they quickly turn circular... I'm afraid
the FC 4 is just too old for the new php's, so all I can think of is
an upgrade to FC 7. If I can get my amazon p/w found, I'll probably
just order a Bible with FC 7 and install that...

I sure hope after all this screwing around that the Joomla error
really IS a php 5.0.4 problem! Of course, it's too late to go back
now, since php is already ruined by the partial install (it might be
salvageable if there were a way to add php-mysql to it)...

Thanks again, I appreciate the help.

Re: Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

am 08.11.2007 17:36:59 von Brendan Gillatt

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joel Fireman wrote:
> On Wed, 07 Nov 2007 18:19:11 +0000, Brendan Gillatt
> wrote:
>
>> 5.2.x is still in the dev repositories. have a look in
>> download.fedora.redhat.com/pub/fedora/linux/development/i386 /os/Packages/
>> for one.
>
> Thanks - I tried it, but of course, rpm doesn't want to install it -
> 15 failed dependencies... and they quickly turn circular... I'm afraid
> the FC 4 is just too old for the new php's, so all I can think of is
> an upgrade to FC 7. If I can get my amazon p/w found, I'll probably
> just order a Bible with FC 7 and install that...
>
> I sure hope after all this screwing around that the Joomla error
> really IS a php 5.0.4 problem! Of course, it's too late to go back
> now, since php is already ruined by the partial install (it might be
> salvageable if there were a way to add php-mysql to it)...
>
> Thanks again, I appreciate the help.
>

Ah, I'm glad I left the red-hat distro world for Debian ;]

Good luck all the same.

- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFHMzsrkA9dCbrNdDMRAjeHAKDYoKwkmqOm1yFGhWcUVIdcjXQlLwCd Ey/s
d2343VK/HgfuN8Lc/W0lH8c=
=Y9OJ
-----END PGP SIGNATURE-----

Re: Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4

am 09.11.2007 17:01:02 von Joel Fireman

On Thu, 08 Nov 2007 16:36:59 +0000, Brendan Gillatt
wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Joel Fireman wrote:
>> On Wed, 07 Nov 2007 18:19:11 +0000, Brendan Gillatt
>> wrote:
>>
>>> 5.2.x is still in the dev repositories. have a look in
>>> download.fedora.redhat.com/pub/fedora/linux/development/i386 /os/Packages/
>>> for one.
>>
>> Thanks - I tried it, but of course, rpm doesn't want to install it -
>> 15 failed dependencies... and they quickly turn circular... I'm afraid
>> the FC 4 is just too old for the new php's, so all I can think of is
>> an upgrade to FC 7. If I can get my amazon p/w found, I'll probably
>> just order a Bible with FC 7 and install that...
>>
>> I sure hope after all this screwing around that the Joomla error
>> really IS a php 5.0.4 problem! Of course, it's too late to go back
>> now, since php is already ruined by the partial install (it might be
>> salvageable if there were a way to add php-mysql to it)...
>>
>> Thanks again, I appreciate the help.
>>
>
>Ah, I'm glad I left the red-hat distro world for Debian ;]
>
>Good luck all the same.

Yeah... I was hopeful that yum would take care of these sorts of
problems, but it didn't do much for this one. I suppose that if I knew
exactly what the "official" names (and numbers) of the applicable
packages were, that yum might be able to handle it, but in this case
it was a steady diet of building repositories and then discovering
that either the named package couldn't be found, or it was marked as
being up-to-date. Until "the Linux world" wakes up and realizes that -
my two cents' wirth here - there is a good deal of manipulation going
on in the world of M$ to keep Linux "divided and conquered" we're
going to continue to see these kinds of things happening.

Meantime... if I had plenty of time and resources, I'd likely be
looking at other distros...but right now I'm going on the assumption
that I can install FC 7 on the system without trashing the existing
users' and apps' directories. I'm sticking with FC for now because it
seems that each distro wants to put things in differently-named
directories from the others, and even use different environment
designations. I have a SuSE box at home that is a decent enough
system, but it's a pain sometimes trying to remember where IT wants to
see various programs and data - it's reminiscent of the
keyboard-layout copyright problems, and, of course M$ itself changing
directories and whatnot with each new version, apparently more or less
gratuitously ("I know what! Let's call it 'Documents and Settings'
instead of 'home'!").

Pfui!

But, thanks, again!