In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to install APC under the Linux operating system". In the operation of practical cases, many people will encounter such a dilemma, 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!
Apc installs the latest APC-3.0.18.tgz, decompresses it, and enters the directory
Apc download address http://pecl.php.net/package/APC
/ usr/local/php/bin/phpize (production configure file)
. / configure-- enable-apc--enable-apc-mmap-- with-php-config=/usr/local/bin/php-config
Make make.Install
Cp / usr/local/lib/php/extensions/no-debug-zts-20060613/apc.so / usr/local/lib/php/extensions/apc.so
Chmod 755 / usr/local/lib/php/extensions/apc.so
Configure / join at the end of etc/php.ini
Extension=apc.so
Apc.enabled = 1
Apc.cache_by_default = on
Apc.shm_segments = 1
Apc.shm_size = 128,
Apc.ttl = 7200
Apc.user_ttl = 7200
Apc.num_files_hint = 1024
Apc.write_lock = On
Apc.gc_ttl=3600
Apc.ttl=0
Apc.mmap_file_mask=/tmp/apc.XXXXXX
Restart apache
This is the end of "how to install APC under the Linux operating system". 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: 275
*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.