HTTP demo for Zan PHP Framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
init
public
resource
src
.gitignore
LICENSE
README-Eng.md
README.md
composer.json
phpunit.xml

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