I am using Ubuntu 10.04. And I want to upgraded my php version. When i am upgrading my PHP version(5.3.2 to 5.3.6) but After every updation Its show PHP version 5.3.2..
Edit:: I have checked "Ubuntu repository", PHP 5.3.6 is not avalable. :(
|
I am using Ubuntu 10.04. And I want to upgraded my php version. When i am upgrading my PHP version(5.3.2 to 5.3.6) but After every updation Its show PHP version 5.3.2.. Edit:: I have checked "Ubuntu repository", PHP 5.3.6 is not avalable. :( |
|||
|
|
First add the following lines to the
Then run the following command to add a key for the newly added repositories:
After that you can update Ubuntu's software and upgrade PHP:
|
|||
|
|
I you want to upgrade Ubuntu 10.04 LTS to PHP 5.3.10, this is how I have done it:
Thanks to Brian Mercer for his PPA for php5. |
|||
|
|
|
I would recommend using my (Ondrej's) PPA, the answer taken from another Q&A thread: [How do I install PHP 5.4.0? You could use a ppa to stay up-to-date with php. I use : https://launchpad.net/~ondrej/+archive/php5 It's now on 5.4. If you want use this ppa do this: ppa:ondrej/php5
If you don't have add-apt-repository binary do the following:
|
|||
|
|
|
check this: http://www.omaroid.com/installing-lamp-with-php-5-3-6-on-ubuntu-11-04-natty-narwhal/ Kev, The part that says: use this repository:
|
||||
|
|
Unfortunately I believe you have to install PHP from source in order to get the latest version. You can get the file from php.net, and essentially follow their installation guide from their manual. |
|||
|
|