0

I purchased a new VPS from bluehost they provided me old version of PHP that's not supporting my website and Its been 1 Week bluehost technical support team refused to do that they are making excuses.

My ubuntu version is 12.04.5 LTS

I want to update Apache,MySQL and PHP with their latest version and all dependencies and necessary extensions that are commonly used on website.

I know that some people think that my Question is duplicate of other questions.

I am asking that what I have to do for upgrading Apache, MySQL and PHP for example: I have to remove all these three before upgrading on server ?

My problem is how can i upgrade Apache, MySQL and PHP???

Please explain step by step

1 Answers1

0

Before you begin, you should know that ppas are not officially supported. ppas are provided by members of the community. As mentioned here, you should visit this link before you begin.

Although, it should be noted that this particular ppa is used by many people, if you Google "php5 ppa" you will see many tutorials reference this.

To install the newer versions and to add the ppa for php version 5.6 and mysql 5.6 and the newer version of apache as well, run the following commands and please post any errors:

sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo add-apt-repository ppa:ondrej/mysql-5.6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5

For more info: visit here for info on the php5 ppa and a list of the packages added by the ppa

Also: visit here for more info on the mysql ppa and a full list of the added packages

mchid
  • 43,546
  • 8
  • 97
  • 150