Skip to content

Instantly share code, notes, and snippets.

@git-ashish
Created September 25, 2014 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save git-ashish/7a1984a4a638f40eacaa to your computer and use it in GitHub Desktop.
Save git-ashish/7a1984a4a638f40eacaa to your computer and use it in GitHub Desktop.
Upgrade php-* to php55 - Linux AMI
1. Get a list of php packages currently installed
``rpm -qa | grep php > packages.txt``
2. yum remove php-common - This will depend on the current php version. For >= 5.4, it would be yum remove php54-common
3. yum remove httpd httpd-tools
4. yum install php55 php55-mysqlnd php55-gd php55-mbstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment