danielftl
12-11-2002, 02:21 PM
Hi Everyone,
I've seen in here where users type php -v at the shell and get the new version while running phpinfo() in a php page on apache and get the old version, but in my case, I have just the opposite. In apache phpinfo, I get php version php 4.2.3, while the shell php -v command yields php 4.1.2. Any ideas how to correct that? It is the shell that I am most interested in.
System Details: i586 Redhat Linux 7.1. Apache and PHP were installed from the RedHat CD. For the upgrade, the apache source was download and installed and then the PHP source was downloaded and installed according to the instructions at http://www.php.net/manual/en/install.apache.php (obviously the ./configure command was different, but it follows:
./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 --with-exec-dir=/usr/bin --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --without-oci8 --with-mysql=/usr/local/mysql --with-xml --enable-memory-limit --enable-versioning --enable-calendar --with-apxs=/www/bin/apxs
I appreciate any advice you can offer in getting the shell to use and show the latest version
Thanks.
Daniel
I've seen in here where users type php -v at the shell and get the new version while running phpinfo() in a php page on apache and get the old version, but in my case, I have just the opposite. In apache phpinfo, I get php version php 4.2.3, while the shell php -v command yields php 4.1.2. Any ideas how to correct that? It is the shell that I am most interested in.
System Details: i586 Redhat Linux 7.1. Apache and PHP were installed from the RedHat CD. For the upgrade, the apache source was download and installed and then the PHP source was downloaded and installed according to the instructions at http://www.php.net/manual/en/install.apache.php (obviously the ./configure command was different, but it follows:
./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 --with-exec-dir=/usr/bin --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-discard-path --enable-track-vars --enable-trans-sid --without-oci8 --with-mysql=/usr/local/mysql --with-xml --enable-memory-limit --enable-versioning --enable-calendar --with-apxs=/www/bin/apxs
I appreciate any advice you can offer in getting the shell to use and show the latest version
Thanks.
Daniel