In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to install php yac extensions locally". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Local installation of php yac extension methods: 1, through the "wget https://github.com/laruence/yac/archive/master.zip" download yac;2, modify the php.ini file and install the yac extension module can be."
Operating environment of this article: centOS6.8 system, PHP5.6 version, macbook air2017 computer
How to install the php yac extension locally?
Install the yac extension cache for php. Did you use the cache? Not yet, is it too out?
Here are my own notes on installing yac.
Method
I didn't bother to look for it officially. I downloaded it directly from the github address of BOSS Hui Xinchen.
I'll just wget https://github.com/laruence/yac/archive/master.zip.
Then extract it to the current directory (I don't know why I can't see the suffix of zip in linux)
Unzip master-d. /
Will create a directory of yac-master
Cd, go in.
Then compile and install.
Phpize. / configure-- with-php-config=/usr/local/php/bin/php-config make make install (the paths of phpize and php-config are based on their own servers)
After installation, modify the php.ini file to add a line
Extension = yac.so
If this is the first time to install the expansion module, please set the
Extension_dir is modified to the directory where the yac.so file is located after installation. As shown in the following figure:
Extension_dir = / usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/
(just an example, based on the actual path)
That's all for "how to install php yac extensions locally". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.