Public | Automated Build

Last pushed: 8 months ago
Short Description
lamp base on alpine linux
Full Description

lamp

php5 apache2 mysql

additional software

curl
wget
tzdata
composer

php5 extension

php5-apache2 
php5-cli 
php5-phar 
php5-zlib 
php5-zip 
php5-bz2 
php5-ctype 
php5-mysqli 
php5-mysql 
php5-pdo_mysql 
php5-opcache 
php5-pdo 
php5-json 
php5-curl 
php5-gd 
php5-gmp 
php5-mcrypt 
php5-openssl 
php5-dom 
php5-xml 
php5-iconv 
php5-xdebug

xdebug configuration

xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.idekey=PHPSTORM
xdebug.remote_log="/tmp/xdebug.log"

mysql configuration

username: root
password:

default, it will create a empty databse whose name is db.

  • change my.conf configuration
log_error = /var/lib/mysql/error.log
general_log = ON
general_log_file = /var/lib/mysql/query.log
Docker Pull Command
Owner
janes
Source Repository

Comments (1)
ultranal
2 months ago

the default setting of mysql.default_socket is wrong. The default value is /var/run/mysql/mysqld.sock and mysql UNIX socket is actually located at /run/mysqld/mysqld.sock.