LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP Upgrade - still at the old version (https://www.linuxquestions.org/questions/linux-newbie-8/php-upgrade-still-at-the-old-version-268904/)

Seventh 12-21-2004 03:20 PM

PHP Upgrade - still at the old version
 
Hi all,

I downloaded PHP 4.3.10, and did the install according to the instructions here:

http://www.php.net/manual/en/install.unix.apache2.php

Basically download, extract,

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

make, make install and restart of httpd.

PHP -v still gives me 4.3.7 however. I'm pretty sure I followed along, is there something else that I need to do to "remind" Redhat that there's a new one installed?

Thanks!

shmonkey 12-21-2004 03:40 PM

You know have 2 versions installed. This means that you did not configure things properly for your system.

I don't know if this is for Redhat or Debian but I would remove your previous version first. Best to wait for a packages version to become availiable. If you still want to compile from source (i assume this version is not availiable as a package yet ?) then do :

Code:

# ./configure --help
to check your intall options,

Your probably need to add --prefix=/usr to your configure options

Code:

# ./configure --prefix=/usr
regards

Shmonkey


All times are GMT -5. The time now is 05:43 PM.