Skip to main content
Visitor II
May 21, 2019
Question

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

  • May 21, 2019
  • 1 reply
  • 1339 views

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 ?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    June 24, 2019

    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