cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet server with Apache2/PHP/MYSQL/PhpMyAdmin (LAMPP)

AZAMA
Associate

Hello,

I'm currently working into STM32MP157C-DK2 and I have made my own image with the following append:

apache2 php phpmyadmin php-cli mysql5

But into my internet page (move from //usr/share/.. to another directory) php code didn't work and when I try to configure mysql5 I have this

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Also I try to add php-modphp but the bitbake fail

I try too to install dev-pkgs but I get an error too

Do you have any idea ?

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @AZAMA​ 

Sorry for late reply.

Is this post still valid ?

Most of the module you mentioned are by default integrated to the default OpenSTLinux running on DK2 through meta-oe and meta-webserver layers.

Could then please be more specific on what you have done to generate your own image and share the logs in case of errors.

Thx

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.