I have PHP 5.3.5 on Ubuntu Sever and I need to have exactly 5.3.8. How can I do such an upgrade?
ps. Just question just earned "notable question" badge, any reasons for the downvotes?
|
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
We first have to resolve two dependencies required for the dotdeb packages. If you are running the amd64 version, you should replace i386 with amd64.
We'll have to add the dotdeb repository to the APT sources, so we can use their packaged PHP 5.3 and php-fpm:
Update apt:
The resulting text should include dotdeb. Now we'll install PHP (part 1):
|
|||
|
|
|
download from php.net and compile. or http://www.dotdeb.org/2011/08/30/php-5-3-8-is-available/ |
|||||||
|
|
Maybe you should search from some Ubuntu custom repositories which already has latest PHP versions and maybe also PHP beta versions and you can install it from there without the hassle of downloading and compiling it manually. |
|||||
|