Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 452 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 452 Bytes

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