Can't Install PHP / MySQL - php5-mysql : Depends: libmysqlclient18 but it is not installable - Raspberry Pi Forums


hello guys,

around me ? downloaded image raspberrypi 3 (desktop version) , try install apache / php / mysql. apache ok when tried install php, running following command :

code: select all

root@dani:/home/pi# sudo apt-get install libapache2-mod-php5 php5 php-pear php5-xcache php5-mysql php5-curl php5-gd
got error :

code: select all

reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming. following information may resolve situation:  following packages have unmet dependencies:  php5-mysql : depends: libmysqlclient18 not installable e: unable correct problems, have held broken packages. 
idea can fix ?

thank you.

i fixed issues installing first default mysql (mariadb)

code: select all

sudo apt install default-mysql-server
secure mysql using command, add password , press y options:

code: select all

sudo mysql_secure_installation
install php follows:

code: select all

sudo apt install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-gd php7.0-opcache php7.0-curl  sudo systemctl restart apache2


raspberrypi



Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading