For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > June 2005 > RE: [PHP-INSTALL] PHP on RH9 still shows old version after upgrade









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-INSTALL] PHP on RH9 still shows old version after upgrade
Frank Hamersley

2005-06-08, 3:58 am

> Robert E. Kudyba wrote on Saturday, 4 June 2005 at 1:50 AM
[snip]
> compile PHP:
> Configure Command './configure' '--host=i386-redhat-linux'
> '--build=i386-redhat-linux' '--target=i386-redhat-linux-gnu'
> '--program-prefix=' '--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' '--cache-file=../config.cache'
> '--with-config-file-path=/etc'
> '--with-config-file-scan-dir=/etc/php.d'
> '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
> '--disable-rpath' '--enable-inline-optimization' '--with-bz2'
> '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin'
> '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
> '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext'
> '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
> '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system'
> '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr'
> '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared'
> '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU'
> '--enable-bcmath' '--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-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
> '--with-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-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal'
> '--enable-mbstring=shared' '--enable-mbstr-enc-trans'
> '--enable-mbregex'
> '--with-apxs2=/usr/sbin/apxs'
>
> Where is this "hiding" in the OS?


Rob,

I also had a similar problem when migrating from a RH rpm installed
environment to a vanilla Apache/PHP compile from source arrangement. I
chose to use the standard paths ie. /usr/local/xxxxx rather than the RH
/usr/sbin etc and had to track down (using which etc) a few things to break
the RH configurations grip.

I suspect your path to apxs is not helping - after building apache 1.3.33 I
had found the new apxs in /usr/local/apache/bin. My approach was to replace
the RH files with symbolic links to the new vanilla files (prolly overkill
but keeps me feelin' relaxed).

Let me know how it pans out,
Cheers Frank.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com