Public | Automated Build

Last pushed: 8 months ago
Short Description
cmp_app_server
Full Description

cmp app server

In short, the "cmp-app-server" is a webserver base on latest php7 +swoole extenstion.

  • By using swoole_http_server to forward web request to php-fpm, we now have a full engine web engine in pure php
  • When dockerized, can have a very flexible and scable application server production deployment.
  • CMP (http://cmpTech.info) and many other PHP framework is tested compatible
  • for more information, please refer to CmpAppServer Wiki

Docker Mode

sh start_cmp_server_docker.sh

Local Mode

sh start_cmp_server_local.sh

LINKS

[TIPS] Run In One Line

update docker image:

docker pull cmptech/cmp_app_server

run server in one line

docker run --name $(date +%Y%m%d%H%M%S) -p 9503:9501 -v $(pwd)/webroot/:/app_root/webroot/ -w /root/ -ti cmptech/cmp_app_server:latest sh start_cmp_server_docker_local.sh

Tips

install php70 +fpm +opcache +swoole

brew install php70 --with-fpm
brew install php70-opcache
brew install php70-swoole
brew unlink php70 && brew link php70

sudo brew unlink php70
sudo brew remove php70*
```

  • install docker at linux

https://docs.docker.com/engine/installation/linux/ubuntulinux/

Docker Pull Command
Owner
cmptech
Source Repository