A
A
Alexander Urich2016-09-24 21:57:45
PHP
Alexander Urich, 2016-09-24 21:57:45

How to properly build PHP with mariadb?

Please help me solve this problem... I
need to upgrade PHP to version 7 on a Debian 8 desktop machine
Now running PHP 5.6 + php5-fpm + mariadb Deleted
all php, downloaded PHP sources, configure and displays an error:
configure: error: PDO_MYSQL configure failed , MySQL 4.1 needed. Please check config.log for more information.
As I understand it, he is looking for a real mysql-server, but I don’t really want to install it, since mariadb is much better for me

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Urich, 2016-09-24
@Urichalex

It's simple:
apt install libmariadbd-dev

O
Oleg Tsilyurik, 2016-09-24
@Olej

it looks for a real mysql-server, but I don't really want to install it,

And he (PHP v7) is deep down to give a damn about what you want there and what you don’t: if dependencies require a package, please provide it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question