[KLUG Members] php

Adam Williams members@kalamazoolinux.org
Thu, 20 Jun 2002 13:25:55 -0400 (EDT)


>Hello All.  I just updated PHP on RedHat 7.2 to PHP 4.2.1.   When I run
>phpinfo on a php page, the webpage displays the current version and
>config.  However, when I run PHP -v at the command line, I still get
>4.0.6.  (yes, I rebooted).  What gives?  4.0.6 is too old for my QVCS
>install.

Did you update using the RPM or source?  I usually source-it with PHP so 
I'm not 100% sure how the RPM works,  but with the source you build 
*either* the Apache DSO or the cgi-bin stand alone executable.  When I 
build php I have to do it twice,  once with --with-apxs and one without.