Hi everybody, I followed the Debian Sarge Howto and everything went just fine. But now I want to update PHP4 to PHP5, how is this done? Thanks in advance, Regards, Jeroen.
Debian sarge does not have PHP5 packages. You can find PHP5 packages for sarge on backports.org. http://www.backports.org
Oke, but than what? How can I make apt-get to install packages from those sites? Thanks in advance, Regards, Jeroen.
Is this the correct syntax to update to php5: apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-domxml php5-gd php5-imap php5-ldap php5-mcal php5-mhash php5-mysql php5-odbc php5-pear php5-xslt curl libwww-perl imagemagick Thanks!
First you have to add the source from the site to your apt sources list. For backports.org add this line: deb http://www.backports.org/debian/ sarge-backports main to your /etc/apt/sources.list. Then run the command: apt-get update To see which php5 packages are available, execute this command: apt-cache search php5 Then install the packages that you need with the command: apt-get install packagename1 packagename2 pacakgename3 The pcakaes might be named like this: apt-get install libapache2-mod-php5 libapache2-mod-perl2 php5 php5-cli php5-common php5-curl php5-dev php5-domxml php5-gd php5-imap php5-ldap php5-mcal php5-mhash php5-mysql php5-odbc php5-pear php5-xslt But I'am not sure if all these packages where available at backports.org, so its better if you compare this list with the packages list you get with "apt-cache search php5".
Hi, Quick question, after install PHP5 like Till explained do i need to change/do something with ISPconfig ? (like running the setup file again ??) Regards, Adrian.
Hi, please let me add something to this topic, because I have to spend a lot of time to find a solution for a problem. After the update to php5 with apt-get and the parameters above apache and php5 works, but mysql and gd-support for example is per default not active. For activation the modules it is neccessary the modify the php.ini (/etc/php5/apache2/php.ini). In the Section "Dynamic Extensions" you have to integrate the modules - for example: "extension=mysql.so". Then restart the apache and everything works fine I hope this will help for some "isp-config fighter" to save time ... Greetz Alex
Hallo. I'm glad to see you've discussed something that I've been through for some time. I'm an Ubuntu 5.04 user and I installed php4 and mysql4 from my Synaptic. What I'm curious about is whether the things you've shared here are actual for my situation too. If not, I'm just wondering if you have some links or whatever useful to tell me what to do to get php5 version. Thanks.
I don't think this will work for Ubuntu. Backports.org is for Debian only. But you can run Code: apt-get update and search for PHP5 like this: Code: apt-cache search php5
^ I did it and there was no effect so I also did apt-get upgrade and then the update and searching commands. No php5 stuff found. I hope it's still impossible that php5 doesn't work on Ubuntu 5.04, huh.
/etc/apt/sources.list deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted deb-src http://bg.archive.ubuntu.com/ubuntu hoary main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://bg.archive.ubuntu.com/ubuntu hoary-updates main restricted deb-src http://bg.archive.ubuntu.com/ubuntu hoary-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://archive.ubuntu.com/ubuntu/ hoary universe main restricted multiverse deb-src http://bg.archive.ubuntu.com/ubuntu hoary universe deb http://security.ubuntu.com/ubuntu hoary-security main restricted deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted deb http://security.ubuntu.com/ubuntu hoary-security universe # deb-src http://security.ubuntu.com/ubuntu hoary-security universe
Then there are no PHP5 packages for Hoary Hedgehog. You could try to upgrade your system to a newer Ubuntu version like this: Code: apt-get dist-upgrade But use this at your own risk! It's possible that your system becomes unusable...