In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you how to install PHP accelerator XCache3.2.0 and check the working status of XCache3.2.0 in linux, I believe most people don't know much about it, so share this article for your reference. I hope you can learn a lot after reading this article. Let's learn about it together.
First, install PHP accelerator Xcache 3.2.0
(1) download xcache-3.2.0.tar.gz
(2) upload the compressed package to the Linux server
(3) decompress tar-zxvf xcache-3.2.0.tar.gz
(4) cd / root/tools/xcache-3.2.0
(5) / application/php/bin/phpize
/ / phpize is used to install the php expansion module, and the plug-in module of php can be established through phpize.
(6). / configure-enable-xcache-with-php-config=/application/php5.3.29/bin/php-config
(7) make&&make install
(8) after the installation is completed, the Xcache module will be installed to / application/php/lib/php/extensions, and the xcache.so in it needs to be copied to / application/php/lib/php/modules. This is because the extension_dir in my php.ini is written in the / application/php/lib/php/module folder.
(9) vim xcache.ini
On line 4, change it to: extension = / application/php/lib/php/modules/xcache.so
Consistent with php.ini 's extension_dir
(10) cat xcache.ini > > / etc/php.ini
(11) it is best to move the configuration of the original ZendGuardLoader to the end of the configuration file.
(12) restart Web service
(13) the following figure indicates that the installation is successful.
2. Check the working status of Xcache
(1) copy the htdocs under / root/tools/xcache-3.2.0 to the root directory of web and change the name. I will change it to xcache.
Cp / root/tools/xcache-3.2.0/htdocs / / application/apache2.2.29/htdocs/xcache
(2) set the user name and password to view the xcache web page
Vim php.ini, changed as follows, the password must be written in the form of md5, and the md5 string of the password is generated by http://xcache.lighttpd.net/demo/cacher/mkpassword.php.
(4) Open http://192.168.1.202/xcache/index.php and enter your user name and password.
The above is all the contents of the article "how to install PHP Accelerator XCache3.2.0 and check the working status of XCache3.2.0 in linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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.