Home  >  Article  >  Backend Development  >  PHP Yaf框架的简单安装使用教程(推荐)_php实例

PHP Yaf框架的简单安装使用教程(推荐)_php实例

WBOY
WBOYOriginal
2016-06-16 08:40:541077browse

PHP开发组鸟哥惠新宸开发的php扩展框架

安装

windows下载扩展:https://pecl.php.net/package/yaf/2.2.9/windows

根据自己的电脑系统和php的版本号选择,NTS是线程不安全,TS是线程安全

根据phpinfo(),选择是否是线程安全

把php_yaf.dll扩展放到ext目录下

重启apache

使用

新建目录public,新建文件index.php入口文件

以上这篇PHP Yaf框架的简单安装使用教程(推荐)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持脚本之家。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn