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

Discussion in 'Server Operation' started by robertlouwen, Apr 14, 2009.

  1. robertlouwen

    robertlouwen New Member


    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
  2. falko

    falko Super Moderator ISPConfig Developer

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

    robertlouwen New Member

    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" ?
  4. falko

    falko Super Moderator ISPConfig Developer

    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.
  5. robertlouwen

    robertlouwen New Member

    @ 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 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
  6. falko

    falko Super Moderator ISPConfig Developer

    Did you restart Apache?

Share This Page