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 :
got error :
idea can fix ?
thank you.
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
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.
thank you.
i fixed issues installing first default mysql (mariadb)
secure mysql using command, add password , press y options:
install php follows:
code: select all
sudo apt install default-mysql-server
code: select all
sudo mysql_secure_installation
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
Post a Comment