I had very basic SQL experience so I was going on that at the start of my teaching but once I've the PHP side of things down and passing variables I plan on looking deeper in mysqi functions! Im new to coding and never even knew where was reserve words but thanks for bringing it to my attention :) I'm giving a look through your link now.sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml sudo a2dismod php5 sudo a2enmod php5.6 sudo service apache2 restart note that if you are using NGINX and not Apache, this needs to be changed to avoid apache being loaded as part of the install.I am a bit lost and would really appreciate any advice :-) Thanks Aaron take a closer look to my solution described in my recent answer to this question: https://
If an update on a row would result in a violation of a primary key or unique index, the update on that row is not performed.
Though remember to be careful when doing an upgrade of PHP outside of the normal distro repositories, some of the additional modules that you might rely on could be missing for that version.
Please note that phpinfo shows my loaded configuration file is /etc/php5/apache2/so that seems correct.
LAMP stack versions: sudo apt-get install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6 sudo a2dismod php5 sudo a2enmod php5.6 sudo service apache2 restart Now what seems to have happened is when I check it is using 5.5.9 but the cli is using 5.6.24 When I use composer install, It seems all my extensions (intl, mbstring, zip etc..) are not installed.
When we add the development repository we're going to configure it so it only pulls PHP packages.