LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i update php to the latest? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-update-php-to-the-latest-101688/)

rvn 10-08-2003 12:23 PM

how do i update php to the latest?
 
i am a total newbie at linux and im not even that good at useing windows.

but i imagine something like this would be not that hard to do.

i have a suse 8.2 linux system installed from cds
along with
the apache, mysql, and php versions on those cds.

i want to update php to the latest build.

i have downloaded the newest php 4.3.3.tar.gz
from php.net

is there an .exe type file i can just click on and have it automatically update the existing php installation?

trickykid 10-08-2003 12:37 PM

tar.gz type files are source files, you have to build them. Usually you have to extract the package first with:

tar -xzvf php-4.3.3.tar.gz

Then cd into the newly created directory and then run:

./configure
make
make install

At times you will need to su to root before running make install.

But after extracting, follow the exact directions in the README and INSTALL file in that new directory you'll be compiling from. It will give you insight to options when compiling and exact instructions usually to update php or install it.

rvn 10-08-2003 02:23 PM

thanks man. that was exactly what i was looking for.


All times are GMT -5. The time now is 11:56 AM.