php7.2-mysql et mysql-client-core-5.7
Bonjour,
J'ai toujours installé Apache puis PHP puis mysql sur mes différentes distrib Linux (Debian ou Ubuntu), d'ailleurs je pars de from scratch et je ne me retrouve jamais avec les mêmes config... Mais ça fonctionnait.
Sur la version 18.04 LTS Ubuntu aujourd'hui.
J'ai commencé à installer mysql-client-core-5.7 puis client et server puis paramétrage des utilisateurs. pas de Problème j'y accède via le shell.
En voulant test via PHP je constate que l'extension n'est pas installée, j'installe donc libapache2-mod-php7.2, cette fois-ci mes users sont pas reconnus. J'ai l'impression qu'il n'y a pas de lien.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| dpkg -l | grep -E '(php|apache|sql)'
ii apache2 2.4.29-1ubuntu4.14 amd64 Apache HTTP Server
ii apache2-bin 2.4.29-1ubuntu4.14 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.29-1ubuntu4.14 all Apache HTTP Server (common files)
ii apache2-utils 2.4.29-1ubuntu4.14 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache-pom-java 18-1 all Maven metadata for all Apache Software projects
ii libapache2-mod-php7.2 7.2.24-0ubuntu0.18.04.6 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libaprutil1-dbd-sqlite3:amd64 1.6.1-2 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libmysqlclient20:amd64 5.7.31-0ubuntu0.18.04.1 amd64 MySQL database client library
ii libqt4-sql:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 SQL module
ii libqt4-sql-mysql:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 MySQL database driver
ii libqt5sql5:amd64 5.9.5+dfsg-0ubuntu2.5 amd64 Qt 5 SQL module
ii libqt5sql5-sqlite:amd64 5.9.5+dfsg-0ubuntu2.5 amd64 Qt 5 SQLite 3 database driver
ii libsqlite3-0:amd64 3.22.0-1ubuntu0.4 amd64 SQLite 3 shared library
ii mysql-client 5.7.31-0ubuntu0.18.04.1 all MySQL database client (metapackage depending on the latest version)
ii mysql-client-5.7 5.7.31-0ubuntu0.18.04.1 amd64 MySQL database client binaries
ii mysql-client-core-5.7 5.7.31-0ubuntu0.18.04.1 amd64 MySQL database core client binaries
ii mysql-common 5.8+1.0.4 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.7.31-0ubuntu0.18.04.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.7 5.7.31-0ubuntu0.18.04.1 amd64 MySQL database server binaries and system database setup
ii mysql-server-core-5.7 5.7.31-0ubuntu0.18.04.1 amd64 MySQL database server binaries
ii php-common 1:60ubuntu1 all Common files for PHP packages
ii php7.2-cli 7.2.24-0ubuntu0.18.04.6 amd64 command-line interpreter for the PHP scripting language
ii php7.2-common 7.2.24-0ubuntu0.18.04.6 amd64 documentation, examples and common module for PHP
ii php7.2-json 7.2.24-0ubuntu0.18.04.6 amd64 JSON module for PHP
ii php7.2-mysql 7.2.24-0ubuntu0.18.04.6 amd64 MySQL module for PHP
ii php7.2-opcache 7.2.24-0ubuntu0.18.04.6 amd64 Zend OpCache module for PHP
ii php7.2-readline 7.2.24-0ubuntu0.18.04.6 amd64 readline module for PHP
ii sqlite3 3.22.0-1ubuntu0.4 amd64 Command line interface for SQLite 3 |
Je cale, avez-vous une idée? Par avance Merci