[PHP] simple installation and use of Yaf framework, yaf framework. [PHP] simple installation and use of the Yaf framework. install the PHP extension framework developed by the yaf Framework php Development Team Bird brother Hui. php. netpackageyaf2.2.9windows: simple installation and use of the [PHP] Yaf framework, yaf framework
PHP extension framework developed by the php Development Team Bird brother Hui
Install
Windows download extensions: https://pecl.php.net/package/yaf/2.2.9/windows
Based on your computer system and php version number, the process is thread-safe, and TS is thread-safe.
Depending on phpinfo (), select whether it is thread-safe
Put php_yaf.dll extension in the ext Directory
Restart apache
Use
Create a directory named public and a new file named index. php.
Run ();
Create a directory conf and a new file application. ini
[Product]; supports writing the defined constant application. directory = APP_PATH "/application/" in PHP /"
Create the application/controllers directory and create the file index. php
GetView ()-> assign ("content", "Hello Yaf ");}}
Create directory views/index and file index. phtml
Simple installation and use of http://www.bkjia.com/PHPjc/1127371.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1127371.htmlTechArticle[PHP] Yaf framework, yaf Framework PHP Development Group bird brother Hui new development php extension framework installation windows download extension: https://pecl.php.net/package/yaf/2.2.9/windows according...