# zanhttpdemo **Repository Path**: zan-group/zanhttpdemo ## Basic Information - **Project Name**: zanhttpdemo - **Description**: [READ ONLY] HTTP demo for Zan PHP Framework - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-06-21 - **Last Updated**: 2021-06-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ZanHttpDemo zan php http server demo # 如何使用 1. 安装 [*zan扩展*](https://github.com/youzan/zan),编译参数:(`sockets` 与 `openssl` 可选) `./configure --enable-sockets --enable-openssl` 2. 安装[composer](curl -sS https://getcomposer.org/installer | php) 3. 在根目录下执行composer update 4. 配置php.ini ```ini zanphp.RUN_MODE = test zanphp.DEBUG = true ``` 5. 启动http server `php bin/httpd` 6. 访问`127.0.0.1:8030`