I’m new to php and I’m having problems which I think is related to php versions. I’m getting errors with composer saying
is missing from your system. Install or enable PHP's gd extension.
Problem 3
- The requested PHP extension ext-mbstring * is missing from your system. Install or enable PHP's mbstring extension.
Problem 4
- The requested PHP extension ext-mcrypt * is missing from your system. Install or enable PHP's mcrypt extension.
Problem 5
- The requested PHP extension ext-mysqlnd * is missing from your system. Install or enable PHP's mysqlnd extension.
Problem 6
- The requested PHP extension ext-pdo_mysql * is missing from your system. Install or enable PHP's pdo_mysql extension.
Problem 7
- The requested PHP extension ext-simplexml * is missing from your system. Install or enable PHP's simplexml extension.
Problem 8
- The requested PHP extension ext-xmlwriter * is missing from your system. Install or enable PHP's xmlwriter extension.[/code]
This is what I've done to install php
[code]sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get install -y language-pack-en-base
sudo apt-get update
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6
sudo apt-get install php5 php5-cli php5-dev php5-json php-pear php5-gd php5-mysqlnd php5-curl
sudo ln -sfn /usr/bin/php5.6 /etc/alternatives/php
PHP 5.6.24-1+deb.sury.org~trusty+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
I have no idea what the problem is as I believe I have the required extensions installed. Any help would be appreciated (assume I know nothing).