PHP free accelerator, PHPAccelerator. Php-accelerator.co.uk can be downloaded, is a strong opponent of zend. Yes. I am using it. The results are good. Modify php. ini Plus: zend_extensionusrlocalli http://php-accelerator.co.uk/downloadable, is a strong opponent of zend. Yes. I am using it. The results are good.
Modify php. ini and add:
Zend_extension =/usr/local/lib/php_accelerator_1.3.3r2.so
Phpa = on
Phpa. tweaks = on
Phpa. cache_dir =/tmp
Phpa. fil
EAccelerator is an open-source PHP accelerator that optimizes programs, encoders, and dynamic content caching. It caches PHP scripts during compilation to improve the performance of PHP scripts, therefore, the system overhead can be almost eliminated during compilation. It can also optimize scripts to accelerate their execution speed. Using eAccelerator can reduce the server load and increase the execution time of PHP code.
EAccelerator configuration
This article mainly introduces the installation and configuration notes of the PHP accelerator APC in Linux. This article also describes how to install apc in Windows, need a Friend can refer to the current I use a APC-3.1.9 stable, you can go to the http://pecl.php.net/package/APC to download the latest version.
1. Installation
The code is as follows:
Wget http://pecl.php.net/get/APC-3.1.9.tgzTar xzvf APC-3.1.9.tgzCd APC-3.1.9/Usr/local/php/bin/ph
-end host group when the server is again in effectBackend Websrv1 {. host = "192.168.0.131";. Port = "80";. Probe = {. url = "/";. interval = 1s;.window = 8;# Number of detections. threshold = 5;# Minimum number of successes. timeout = 2s; # timeout Time}backend websrv1 {. host = "192.168.0.133";. Port = "80";. Probe = {. url = "/";. interval = 1s;.window = 8;# Number of detections. threshold = 5;# Minimum number of successes. timeout = 2s; # Time Out}When the HTTP service of 133 server is stopp
+shift+g text editing scopes feature shortcut text Editor overwrite toggle Insert Text Editor Roll line ctrl+↑ text Editor scroll line ctrl+↓ file scope function shortcut Global save Ctrl+x ctrl+s full Office print ctrl+p Global off CTRL+F4 Global all save Ctrl+shift+s Global off CTRL+SHIFT+F4 Global Properties Alt+enter Global New CTRL + N project scope feature shortcut key global all build Ct Rl+b Source code scope function shortcut key Java Editor format ctrl+shift+f Java editor Uncomment ctr
Here is the stable version of the 1.2.2 version, 2.0 version of the instability.wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gzTAR-ZXF xcache-1.2.2.tar.gzCD XCachePhpize./configure--enable-xcacheMakeMake installRecord the installation directory of the XCache.Edit the php.ini file, add XCache as the Zend extension.[Xcache-common];; Install as Zend Extension (recommended), normally "$extension _dir/xcache.so"zend_extension =/Path/xcache.so;; or install as extension, make sur
Today, the following error was encountered while compiling varnish: Checking for library containing pthread_create ...-lpthreadChecking for socket in-lsocket ... noChecking for getaddrinfo in-lnsl ... yesChecking for cos in-lm ... yesChecking for pkg-config .../usr/bin/pkg-configChecking Pkg-config is at least version 0.9.0 ... YesChecking for PCRE ... noConfigure:error:Package requirements (Libpcre) were not met: No package ' libpcre ' found Consider adjusting the PKG_CONFIG_PATH environment va
php-fpm after the phpinfo () function to see if the function is enabled;650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/9D/9F/wKioL1mC1x6DD3qYAACFaCAUdSQ345.png-wh_500x0-wm_ 3-wmp_4-s_2435017784.png "title=" Qq20170803155549.png "alt=" Wkiol1mc1x6dd3qyaacfacaudsq345.png-wh_50 "/>After installation, the load on the Web machine dropped from 8 points to more than 1 points650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/9D/9F/wKioL1mC17Dwy_peAAAwcbsVcpc246.png "style=" float
current line to the bottom of the displayed screenIn addition: Press the D key alone, is cut 2 lines, press ND, is cut n+1 line, but generally use or is recommended to use double D (i.e. DD) to execute.Copy:First, you can enter the free selection mode in command mode, select the text you want to cut, and then press D to cut. Other command mode Cut command: yy: Copy the current line nyy:n represents a number greater than 1, copy n rows yw: Copy from the cursor to the end of a list/ word, includi
Eclipse/sts has two shortcuts ctrl+alt+ the down ARROW and ctrl+alt+ up ARROW keys to copy and paste the code of the current line to the next line or line, but some computers use these two shortcuts and the screen reverses. It is due to the interference of the graphics card driver shortcut keys, need to manually turn off the video card hotkey.Workaround:Control Panel--Hardware and sound--Change display settings--Advanced settingsThen switch to the Intel HD Graphics Control Panel--graphics proper
Open Search dialog box Ctrl+H declarations in the global workspace Ctrl+G references in the global workspace Ctrl+shift+G Text Editing scope feature shortcut text Editor overwrite toggle Insert Text editor Roll line Ctrl+↑ Text Editor Scroll down the line Ctrl+↓ File scope feature shortcut keys global save Ctrl+X Ctrl+S Global Print Ctrl+P Global Close Ctrl+F4 Global Save All Ctrl+shift+S Global all close Ctrl+shift+F4 Global Properties Alt+Enter Global New Ctrl+N Project scope function shortcu
., adding parentheses)
Ctrl+shift+enter
Extracting constants
Ctrl+1-> Solid Extraction
Ctrl+alt+c
Extracting variables
Ctrl+1-> Extracting variables
Ctrl+alt+v
Add, delete, and move several lines of code
Adds a row to the current caret
Shift+enter
Shift+enter
Copy a line or code snippet
Ctrl+alt+up/down
Ctrl+d
Delete a line of code
Ctrl+d
Ct
. conf
lang=en default is ZH_CN. UTF-8 Chinese, to display Chinese, the system must be installed in Chinese language support.
File to view the types of files:Catalogue:[[emailprotected]_46_188_centos~]#file/bin//bin/:directory[[email Protected]_46_188_centos~] #二进制文件: [[emailprotected]_46_188_centos~]#file/bin/cp/ bin/cp:elf64-bitlsbexecutable,x86-64,version1 (SYSV), dynamicallylinked (usessharedlibs), forgnu/linux2.6.32,buildid[ sha1]=9c78c9014112530b46143fe598a278c5ad792edb,stripped[[
Take the article page for example, through the chrome grab package, waiting time to reach 147ms, in fact, before caching optimization, this page has about 4 SQL statements, the speed is only about 152ms, the difference is not small, so I decided to install Zend Opcache accelerated PHP.
When I installed the Zend Opcache on the server, after testing, waiting has dropped to 68ms, the effect is obvious.
It is also necessary to install this type of PHP Accelera
Let your system run faster, suitable for a variety of configuration models to use, generally can make the system to run faster than 15%-30%, for the configuration of a lower machine effect more obvious. Principle: Software to the active application through real-time scheduling of limited CPU resources, thus speeding up the program running speed. Software uses soft acceleration technology, do not overclocking, do not damage the hardware, you can rest assured that use. Is the user installed the ne
Small series with WIN8 system has nearly 2 years, although it is known to start fast, but after the boot of the lock screen and power-on password, seriously slow down the system start speed! So just try to get them today, speed up to the desktop. Therefore, with today's article "Win8 power-on password How to cancel the Win8 Boot accelerator tutorial." No need for any third-party software, manual all done! Suitable for win8/win8.1.
Win8 Bo
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.