A
A
Artem2016-06-16 10:48:36
linux
Artem, 2016-06-16 10:48:36

How to install php5?

What repositories do I need to add to install php5?
Tried - sudo add-apt-repository ppa:ondrej/php5
During installation, it says -
E: Candidate for installation was not found for the "php5" package.
So it turned out that the old site engine and you need regular mysql and not mysqli

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Artem, 2016-06-16
@beardedman

Everything is simpler https://ckon.wordpress.com/2015/08/06/put-mysql-fu...
Library for php7 to work with mysql

A
Anatoly Medvedev, 2016-06-16
@balamyt92

sudo apt install php5-cli
well, the rest of the required modules are also php5-MODULE_NAME

M
Maxim Lumen, 2016-06-16
@Maximum_Live

is it just for local testing?

D
Dmitry, 2016-06-16
@slo_nik

Install LAMP
All included, and apache2 and php and mysql
Here is the instruction

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question