Website acceleration We know Zend has a free tuning engine for PHP, but freelamp this time with a buffer product called PHP Accelerator.
we described several ways to accelerate in the "LAMP acceleration" article, which mentions the PHP accelerator, which is very simple to install, but needs to go to his website to get an activation key.
One, download:
www.php-accelerator.co.uk/download.php
second, get activation key and install:
www.php-accelerator.co.uk/activate.php
register your own server_name, you will get the following tips:
Your key for www.freelamp.com is 8edfd13946c96309244fcca309415902
now, must set the key for www.freelamp.com in your site configuration.
for a domains not using virtual hosts
The key can be set in the php.ini file as follows:
to restart Apache, browse through an arbitrary PHP page in the browser and see/tmp to generate some PHPA at the beginning of the file. Another way to check if buffering works is to look at the output of the phpinfo (), the original Zend tuning engine's description section, which has been shown as:
This program makes the Zend scripting Language Engine:
with the PHP accelerator v1.2p2, Copyright (c) 2001-2002 by Nick Lindridge
need to note that the installation of INSTALL installation instructions, where the. So file differs from the real. So file, so you need to notice the difference when you install it.
Four, adjust the buffer size
PHP Accelerator provides a buffer management command:
PHPA_CACHE_ADMIN-MV to observe memory buffering
PHPA_CACHE_ADMIN-FV observation file buffering
phpa_cache_admin-k Set Buffer size
v. Summary of
the software provides a INSTALL file on the performance of some of the statements, I do not repeat here.
need to explain, freelamp.com's article is not currently PHP architecture, but the forum system is the PHP architecture, so the performance of the promotion will only be the forum system upgrade.
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.