Updating PHP to the latest version
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi,
What's the best way to update PHP to the latest version? Trisquel's repo currently has 5.5.9, but I would like to install 5.6.20 to fulfill a dependency. Of course it's possible to install the source from php.net, but that has the potential to get messy later on. Is there another PHP repository that would keep the update simple?
Thanks!
There is this PPA: https://launchpad.net/~ondrej/+archive/ubuntu/php
The usual warning applies: this software being out of the control of Trisquel, it may include proprietary software or even malware. Even if it does not now, it could tomorrow along an apparently trifling update.
If you decide to trust who is behind the PPA:
$ LC_ALL=C.UTF-8 sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install php5.6
Or you can add the PPA through the "Other Software" tab of "Software & Updates" in the "System settings" (and install it with the "Synaptic package manager").
Thank you!
- Vous devez vous identifier ou créer un compte pour écrire des commentaires