Re: PHP 4.3 Upgrade on redhat 8

From: Date: Tue, 14 Jan 2003 17:26:01 +0000
Subject: Re: PHP 4.3 Upgrade on redhat 8
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-9696@lists.php.net to get a copy of this message
Luke, Basically, the SRPMS are just another file format that holds the tar.gz file. You can either download the SRPMS or just get the tar.gz file from PHP or Apache and do the compile. So for example you are going to build apache: $ su - # cd /tmp put the packages here. # rpm -i apache-1.3.19-5.src.rpm Extract the tar file which are part of the SRPMS: # tar -xzvf /usr/src/redhat/SOURCES/apache_1.3.19.tar.gz After the files have been extracted, a directory is created under /tmp, namely the package_name_version, for example: apache_1.3.19. # cd /tmp/apache_1.3.19 # pwd # ./configure --prefix=/usr/local/apache # make # make install So basically, the SRPMS are just another file format that holds the tar.gz file. To install Apache with PHP support see the following doc: http://www.redhat.com/support/resources/howto/howtophp.pdf to install Apache, PHP and MySQL see Permaine Chung's article, just subsitute MySQL for the Redhat Database: http://www.redhat.com/support/resources/howto/database/database_php/ It really isn't hard once you have gone through it. The important thing to remember is to have a gcc complierer in your path. -Jeanne Luke Woollard wrote:
Hello, Can anybody help with an upgrade of PHP4.3 on REDHAT Linux 8 (psyche)? The system was built via the RPM method. I cannot find a PHp 4.3 RPM anywhere and I don't know how to compile an RPM from source code... Does anybody have one? Apache Version: Apache/1.3.23 Mysql Version: 3.23.49P Postgresql Version 7.3.1 This is my current configure command which I would like to replicate: './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs' NOTE: apxs is not installed on the system. At least I couldn't find it using " find / | grep 'apxs' " I'm not sure where to start and so any help would be appreciated. Luke Woollard
-- UNIX Systems Administrator Academic Resources Library Saint Mary's College Moraga, CA

« previous php.install (#9696) next »