HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   HowTo update php 5.2.6 to 5.2.9 ( perfect server fedora 10 ) (http://www.howtoforge.com/forums/showthread.php?t=33678)

robertlouwen 14th April 2009 17:11

HowTo update php 5.2.6 to 5.2.9 ( perfect server fedora 10 )
 
Gentlemen,

After following the tut. perfect server Fedora 10 ISPConfig3 you will end with a php5.2.6 server.

I would like to know how to update to php5.2.9 ?

With respect, Robert

falko 15th April 2009 18:21

If Fedora doesn't provide a PHP 5.2.9 package, you'd have to compile it manually.

robertlouwen 7th May 2009 15:41

Quote:

Originally Posted by falko (Post 182047)
If Fedora doesn't provide a PHP 5.2.9 package, you'd have to compile it manually.

All right Falko,
I found on Fedora site: php-5.2.9-2.fc10.src.rpm and php-5.2.9-2.fc10.i386.rpm.
Wich one will I use ? Considering I am a linux newby.

With respect, Robert

PS wich command do I use "yum install" ?

falko 8th May 2009 02:14

src.rpm stands for "source rpm", i.e., you use it to build an rpm file. Because you don't want to build an rpm yourself, you must install the other file. You can do it with yum install.

robertlouwen 8th May 2009 15:23

Quote:

Originally Posted by falko (Post 186931)
src.rpm stands for "source rpm", i.e., you use it to build an rpm file. Because you don't want to build an rpm yourself, you must install the other file. You can do it with yum install.

@ Falko,

With filezilla I ftp the php-packages to /var/www/clients/client1/web1/tmp ( because I think this is easier than many times wget ).

After that I logged on to my Linux box and cd /var/www/clients/client1/web1/tmp and executed yum install php it returned some errors about missing dependencies so I wget php-devel, php-common, php-cli after that I executed yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mhash php-mssql php-snmp php-soap php-tidy and it finished with no errors.

Reboot and and point my browser to www.myserver.nl/phpinfo.php and I was unpleasant surprised that it still said php 5.2.6 so i executed yum install once again and it returned php 5.2.9 already installled.

It seemed so easy but it is ( to ) dificult for me.

What am I doing wrong ?

With respect, Robert

falko 9th May 2009 14:45

Did you restart Apache?


All times are GMT +2. The time now is 00:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.