Connecting Tech Pros Worldwide Forums | Help | Site Map

Is there a PHP 4.3 rpm for RedHat9?

nospam please
Guest
 
Posts: n/a
#1: Jul 17 '05
I'm running a website on Apache Http Server on a RedHat Linux 9 box. The PHP
version that RedHat provides is 4.2 but I need to use 4.3 because of a bug
where only the first SSI included php-file is parsed.

I prefer to manage and update this server using only RPMs, if possible. Does
anybody know if the php-4.3 rpm-file for Fedora can be installed on RH9
without ending up in dependency problems? Alternatively, is there a
contributed php-4.3 rpm-file that is made in "the spirit of" RedHat so I can
just do a "rpm -U" to update?

I did search redhat.com and php.net, but couldn't find any.



Rob Ristroph
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Is there a PHP 4.3 rpm for RedHat9?


>>>>> "nospam" == nospam please <nospam@please.invalid> writes:
nospam>
nospam> I'm running a website on Apache Http Server on a RedHat Linux
nospam> 9 box. The PHP version that RedHat provides is 4.2 but I need
nospam> to use 4.3 because of a bug where only the first SSI included
nospam> php-file is parsed.
nospam>
nospam> I prefer to manage and update this server using only RPMs, if
nospam> possible. Does anybody know if the php-4.3 rpm-file for Fedora
nospam> can be installed on RH9 without ending up in dependency
nospam> problems? Alternatively, is there a contributed php-4.3
nospam> rpm-file that is made in "the spirit of" RedHat so I can just
nospam> do a "rpm -U" to update?
nospam>
nospam> I did search redhat.com and php.net, but couldn't find any.

You can only find out if the Fedora rpm works by trying. If you use
--test with the rpm command, you can check the dependencies without
actually doing anything.

I have had good luck making my own rpms with the rpmbuild command.
See if you can make your own rpms with "rpmbuild -ta
php-4.3.4.tar.bz2". The rpms will be in /usr/src/redhat/ after it is
done. Read the rpmbuild man page for details.

--Rob
nospam please
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Is there a PHP 4.3 rpm for RedHat9?


"Rob Ristroph" <rgr@sdf.lonestar.org> wrote:[color=blue]
> You can only find out if the Fedora rpm works by trying.[/color]

.... or by asking others who have tried :-)
[color=blue]
> If you use
> --test with the rpm command, you can check the dependencies without
> actually doing anything.[/color]

$ rpm --test -U php-4.3.4-1.1.i386.rpm
warning: php-4.3.4-1.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
httpd-mmn = 20020903 is needed by php-4.3.4-1.1
libaspell.so.15 is needed by php-4.3.4-1.1
libdb-4.1.so is needed by php-4.3.4-1.1
libpspell.so.15 is needed by php-4.3.4-1.1
php = 4.2.2-17.2 is needed by (installed) php-ldap-4.2.2-17.2
php = 4.2.2-17.2 is needed by (installed) php-pgsql-4.2.2-17.2
php = 4.2.2-17.2 is needed by (installed) php-imap-4.2.2-17.2

Hmmmm.... the last three is probably ok if I upgrade all php packages
together. The libs needs some looking into, but what is the http-mmn
package?
[color=blue]
> I have had good luck making my own rpms with the rpmbuild command.
> See if you can make your own rpms with "rpmbuild -ta
> php-4.3.4.tar.bz2". The rpms will be in /usr/src/redhat/ after it is
> done. Read the rpmbuild man page for details.[/color]

That is a good idea, and I will look into it for this and for future needs.


Rob Ristroph
Guest
 
Posts: n/a
#4: Jul 17 '05

re: Is there a PHP 4.3 rpm for RedHat9?


>>>>> "nospam" == nospam please <nospam@please.invalid> writes:
nospam>
nospam> $ rpm --test -U php-4.3.4-1.1.i386.rpm
nospam> warning: php-4.3.4-1.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
nospam> error: Failed dependencies:
nospam> httpd-mmn = 20020903 is needed by php-4.3.4-1.1
nospam> libaspell.so.15 is needed by php-4.3.4-1.1
nospam> libdb-4.1.so is needed by php-4.3.4-1.1
nospam> libpspell.so.15 is needed by php-4.3.4-1.1
nospam> php = 4.2.2-17.2 is needed by (installed) php-ldap-4.2.2-17.2
nospam> php = 4.2.2-17.2 is needed by (installed) php-pgsql-4.2.2-17.2
nospam> php = 4.2.2-17.2 is needed by (installed) php-imap-4.2.2-17.2
nospam>
nospam> Hmmmm.... the last three is probably ok if I upgrade all php
nospam> packages together. The libs needs some looking into, but what
nospam> is the http-mmn package?

I don't remember. When I did this last, I think I had also made
custom rpms for the latest Apache 2, and I think I installed them all
together, listing all all the rpms on the same command line.

--Rob
Closed Thread