PHP extension YAF by configuration

Source: Internet
Author: User
Tags php framework php website

YAF, full name yet another framework, is a C language written PHP framework, is a PHP extension in the form of a PHP development framework, compared to the general PHP framework, it is faster. It provides bootstrap, routing, distribution, views, plugins, and is a full-featured PHP framework. The biggest feature is simple, efficient, fast, already in Baidu and Sina Weibo after the big platform verification.

1. YAF is actually a PHP official extension, we can download directly on the PHP website. Http://pecl.php.NET/package/yaf

2. Git Repository Https://github.com/laruence/php-yaf

3. YAF Official Document: http://www.laruence.com/manual/

Download:

1 wget http://pecl.php.net/get/yaf-2.3.3.tgz 

Unzip and enter the directory:

1 tar -zxvf yaf-2.3.3* && cd yaf-2.3.3 

Pretreatment:

1 phpize

To perform configuration information and install:

1 ./configure --with-php-config=/usr/bin/php-config && make && make test 

To view the path of an extended installation

1 make install

Configuring PHP.ini Support YAF Extensions

vim/etc/php. INI Join [yaf]yaf. Environ = productyaf. Library = Nullyaf0yaf1 Yaf "" Yaf 5 Yaf 0 Yaf 0 extension=yaf.so//Key steps

Restart Apache and PHP

1 service php-fpm restart
1 systemctl restart httpd

PHP extension YAF by configuration

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.