Sign inSign up

ecstore/nginx-php56

By ecstore

•Updated almost 8 years ago

Shopex ECStore B2C v5.0.x Docker

Image
1

878

ecstore/nginx-php56 repository overview

⁠商派ECStore/B2B2c docker

⁠说明

这是一个Shopex ECStore B2C/B2B2C 可用的docker官方镜像

欢迎在github上提交PR来改进我们的镜像

⁠Git repository

The source files for this project can be found here: https://github.com/summergeorge/nginx-php56-docker⁠

If you have any improvements please submit a pull request.

⁠Docker hub repository

The Docker hub build can be found here: https://hub.docker.com/r/ecstore/nginx-php56/⁠

⁠Versions

TagNginxPHPmysqlZendGuard LoaderSwoole LoaderDockerfile适用产品版本
nginx-php56-swooleloadernginx/1.12.15.6.37--1.9.0nginx-php56-swooleloader/Dockerfile⁠ECstore B2C 5.0.x
nginx-php56-swooleloader-mysqlnginx/1.12.15.6.375.6.28-1.9.0nginx-php56-swooleloader-mysql/Dockerfile⁠ECstore B2C 5.0.x
nginx-php56-zendGuardLoadernginx/1.12.15.6.37-enabled-nginx-php56-zendGuardLoader/Dockerfile⁠ECstore 2.3-3.0(php56) B2B2C 3.0-4.0(php56)
nginx-php72-swooleloadernginx/1.12.17.2.11--1.9.0nginx-php72-zendGuardLoader/Dockerfile⁠B2B2C 5.0
nginx-php72-swooleloader-mysqlnginx/1.12.17.2.115.6.28-1.9.0nginx-php72-zendGuardLoader-mysql/Dockerfile⁠B2B2C 5.0

相关默认配置:

  • web_root:/data/httpd/
  • mysql_data:/data/mysql/

⁠Quick Start

# 启动不含mysql的容器 php5.6
sudo docker run -d -p 8080:80 -v /path-to-ecstore:/data/httpd ecstore/nginx-php56:nginx-php56-swooleloader

# 启动包含mysql的容器 php5.6
sudo docker run -d -p 8080:80 -v /path-to-ecstore:/data/httpd ecstore/nginx-php56:nginx-php56-swooleloader-mysql

# 启动不含mysql的容器 php7.2
sudo docker run -d -p 8080:80 -v /path-to-b2b2c:/data/httpd ecstore/nginx-php56:nginx-php72-swooleloader


# 启动包含mysql的容器 php7.2
sudo docker run -d -p 8080:80 -v /path-to-b2b2c:/data/httpd ecstore/nginx-php56:nginx-php72-swooleloader-mysql

⁠mysql info(适用于nginx-php56-mysql56)

mysql 默认没有密码

To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h 563dacdc4a71 password 'new-password'

Alternatively you can run:

/usr/bin/mysql_secure_installation

which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:

cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl

cd mysql-test ; perl mysql-test-run.pl

Please report any problems at http://bugs.mysql.com/⁠

The latest information about MySQL is available on the web at http://www.mysql.com⁠

⁠php5.6 默认扩展情况(swooleLoader)
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
swoole_loader
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]

⁠php5.6 默认扩展情况(zendGuardLoader)
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
Zend Guard Loader
zip
zlib

[Zend Modules]
Zend Guard Loader

⁠php7.2默认扩展
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
swoole_loader
tokenizer
xml
zip
zlib

[Zend Modules]

Tag summary

Content type

Image

Digest

Size

220 MB

Last updated

almost 8 years ago

docker pull ecstore/nginx-php56:nginx-php72-swooleloader-mysql