PHP Program accelerated exploration of the accelerated tool software

Source: Internet
Author: User
Tags apc execution php code php script zend linux
Program then we have to focus on another area of PHP acceleration-caching tool software. This kind of software is from optimizes PHP to run the environment to speed up, do not need to change any code. We can probably refer to them as "Execution code optimization/Caching Tools", which you can understand to implement the lower-level optimizations/caches.
The following list of the most commonly used tools of this type, which is the most effective, please test your server environment:

(i) APC alternative PHP Cache

Http://pecl.php.net/package-info.php?package=APC

APC runs on Linux and FreeBSD, and you need to compile the installation yourself. According to their developers, they can increase the script speed by 50%-400% in their test environment. And APC is an open source project, has joined the PHP pecl library, it is worth a try.

(ii) Turck MMCache

http://turck-mmcache.sourceforge.net/

Turck MMCache appears to be one of the most popular types of software available, open source, completely free. It compiles and caches PHP code, and also optimizes the PHP operating environment. According to its official documentation, MMCache can significantly reduce server load and increase script execution speed by 1-10 times.

MMCache is compatible with another well-known accelerator Zend Optimizer, but note that MMCache must be installed first (set in php.ini). In addition to speed up the PHP program, MMCache can also encrypt the PHP code.

Turck MMCache supports both Linux and WIN32 platforms.

(iii) PHPA the PHP accelerator

Http://www.php-accelerator

PHPA is another popular PHP acceleration software. On its official web site, using PHPA and APC, Zend cache PHP script to perform the test contrast, its performance slightly better than APC, slightly less than Zend cache.

PHPA supports Linux, FreeBSD, OpenBSD, BSDI, and Solaris systems.

(iv) Zend performance Suite

http://www.zend.com/

The Zend Performance Suite is a veteran PHP accelerated/optimized software that relies on the most well-known Zend companies in the PHP field. 4.0 version has been launched, it can be accelerated for PHP applications, content caching, file compression, download services, etc., the function is very powerful, get several PHP magazine recommendation award-but have to mention, it is also very expensive, the current price is 1875 dollars.

These kinds of acceleration software, I want readers to test themselves according to the server environment and choose the most applicable, because I have no way to provide a universally applicable test criteria to determine which scheme is the most effective. To put it all together, I personally think that Turck MMCache is a recommended choice, free and very functional.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.