Skip to content

youzan/zanhttpdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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