In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install Yaf, the article is very detailed, has a certain reference value, interested friends must read it!
Installation of Yaf 1. Download the yaf installation package
Pecl, enter the official website of php expansion module, and yaf is included in it.
Search: yaf
Yaf PHP Framework in PHP extension, you can download various versions of the yaf installation package.
2. Decompress and install
Tar-zxvf yaf-3.0.5
The version I downloaded is 3.0.5.
Cd yaf-3.0.5
Your/phpize/path
If you don't know the path of your phpize, you can find /-name 'phpize'
. / configure-- with-php-config=your/php-config/path
If you don't know your php-config path, ditto
Make
Make install
Vim your/php.ini/path
Add three lines:
[Yaf]
Extension=yaf.so
Yaf.environ= "product"
Systemctl start php-fpm.service
Restart php-fpm
Configure yaf rewrite rule if (!-e $request_filename) {rewrite ^ / (. *) / index.php?$1 last;} 4. Generate the simplest yaf project.
Wget https://github.com/laruence/yaf/archive/master.zip
Unzip master.zip
Cd yaf-master
Cd tools/cg
You can see yaf_cg, and you can generate the simplest yaf project through yaf_cg
Php yaf_cg project_name
Cd output
You can see the project you generated.
The above is all the contents of the article "how to install Yaf". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.