![](https://seccdn.libravatar.org/avatar/6eea583e770659063bf623f7d6bbe85f.jpg?s=120&d=mm&r=g)
James D. Parra escribió:
Hello,
Currently running php5 5.0.4 on Suse 10.0 server and I'd like to upgrade to php5.2.x. I have the tarball file, but I see that there is an rmp for Suse 10.2 at; ftp://ftp.univie.ac.at/systems/linux/suse/update/10.2/rpm/i586/php5-fastcgi- 5.2.0-12.i586.rpm
thta is not going to work at all ;)
What is the best way to get PHP5 upgraded without breaking Apache or anything else on the system?
the best way is you use the packages from the server:php repository.. addd this repository to yast http://ftp-1.gwdg.de/pub/opensuse/repositories/server:/php/SUSE_Linux_10.0 in the console, as root remove all php5 packages (rpm -e `rpm -qa | grep php5`) then open yast and install apache2-mod_php5 package plus php5-ctype php5-dom php5-iconv php5-mbstring php5-gd and if you use mysql.. php5-mysql. ps: next time upgrade the complete distribution as 10.0 is going out of support in Oct 2007 or so..