Click to See Complete Forum and Search --> : Install New Versions - Not Uninstall?


Mhaddy
03-28-2003, 02:04 PM
Hey there guys,

I'm running a RH 7.1 email / web box and it's running great, but I would like to update certain things like my PHP / MySQL / Apache / sendmail / etc., but my question to you is that, do I have to uninstall the versions I have already or can I just download the newest version, per se, and install those? Is there an upgrade / update function that installs over the current version but leaves the config files intact?

I know of "up2date", but I don't think it works properly... I was running PHP 4.0.6 and as a test I ran up2date and I selected the latest PHP version and checked it to install - but when I ran phpinfo(); on my server - it still said 4.0.6 as the version.

Let me know, and thanks!

Hayl
03-28-2003, 02:08 PM
man rpm

i believe it it -U to upgrade.

chtla
03-28-2003, 10:29 PM
use a command similar to the following..

# rpm -Uvh package...
(apache,php,mysql.. etc)

and find php.ini (/etc/php.ini - default or other diectory)
php.ini of a different each other directory seemes to exist..
(i guess.. two php.ini)

and restart httpd daemon..
view phpinfo()..

check Configuration File (php.ini) Path in phpinfo()..

i considered to be the problem of the route. check it..