HTTP demo for Zan PHP Framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin ~ Jun 5, 2017
init add demo middleware Jul 28, 2016
public github init May 25, 2016
resource remove default routing config Sep 25, 2017
src add session demo Jul 6, 2017
.gitignore update Jun 6, 2017
LICENSE ~ Jun 5, 2017
README-Eng.md ~ Jun 5, 2017
README.md update readme Jun 22, 2017
composer.json update composer.json Aug 22, 2017
phpunit.xml github init May 25, 2016

README.md

ZanHttpDemo

zan php http server demo

如何使用

  1. 安装 zan扩展,编译参数:(socketsopenssl 可选) ./configure --enable-sockets --enable-openssl
  2. 安装[composer](curl -sS https://getcomposer.org/installer | php)
  3. 在根目录下执行composer update
  4. 配置php.ini
zanphp.RUN_MODE = test
zanphp.DEBUG = true
  1. 启动http server php bin/httpd
  2. 访问127.0.0.1:8030