[PHP] simple installation and use of Yaf framework, yaf framework _ PHP Tutorial

Source: Internet
Author: User
Tags windows download
[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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.