I'm using Ubuntu 12.04 LTS (64-bit) operating system on my local machine.
I've already installed LAMP stack (Linux, Apache, MySQL and PHP) on my local machine.
Upon running following commands from the terminal I got the respective responses.
$ php -v PHP 5.5.32-1+deb.sury.org~precise+1 (cli) (built: Feb 5 2016 10:01:19) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies $ apachectl -V Server version: Apache/2.4.16 (Ubuntu) Server built: Server's Module Magic Number: 20120211:47 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=256 -D HTTPD_ROOT="/etc/apache2" -D SUEXEC_BIN="/usr/lib/apache2/suexec" -D DEFAULT_PIDLOG="/var/run/apache2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="mime.types" -D SERVER_CONFIG_FILE="apache2.conf"
Now as PHP7 has been released and other softwares too like http Apache server, MySQL, PHPMyAdmin which are part of my LAMP stack installation I want to upgrade them all to their respective latest stable version.
How should I make this?
I tried running following commands to upgrade all the software resources but these didn't get upgrade, I don't know why.
sudo apt-get update sudo apt-get upgrade
Someone please help me by providing step-by-step answer with necessary commands.