2

What are my options if the version of PHP packaged with Debian Wheezy is too old and I want to run something newer? Besides switching to Ubuntu stable or running Debian Jessie (not great for production), is there a way to only install the new version of php and continue to receive package updates for it?

2 Answers 2

1

Under ubuntu, Ondřej Surý maintains a PPA with always up-to-date PHP version with modules and extensions. Hope this will be usefull.

https://launchpad.net/~ondrej/+archive/php5

0

you should be able to just add the newest packagelist.

Edit the sourcelist:

sudo nano /etc/apt/sources.list

Add the packages to the end of the list:

deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

Update the system:

sudo apt-get update

Reference: http://www.dev-metal.com/setup-latest-version-php-5-5-debian-wheezy-7-07-1-fix-gpg-key-error/

1
  • You forgot to mention the actual website that publishes these newest PHP versions for Debian. It is dotdeb.org May 5, 2014 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.