Tag: PHP

PHP Accelerator tools

There are a few options I can choose when I setup my PHP environment for my Web Site here. APC – Alternative PHP Cache It is used widely. Free, Open Source framework that caches the output of the PHP bytecode compiler in shared memory. Reduced parsing and disk I/O overhead for later requests. The latest

Zend Opcache is a Must Have extension of PHP

Zend Opcache is an open source component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the

PHP Batch Test Result on LEMP

It is the test based on the LEMP, or Linux, Nginx, MySQL and PHP, on Centos 6.4 64bit at Burst.net 1GB VPS. Details about the testing bed: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 1 cores, 1GB RAM CentOS Linux 6.4 Linux 2.6.18-348.4.1.el5.028stab107.2 on x86_64 PHP Version 5.4.21 fpm-fcgi Nginx 1.0.15 MySQL server 5.5.34 I ran

How to config PHP to secure Web Server

There are certain PHP configuration tat affect security features.  The following recommended security configuration options is for production servers. register_globals set to off safe_mode set to off error_reporting set to off disable these functions: system(), exec(), passthru(), shell_exec(), proc_open(), and popen() open_basedir set for both the /tmp directory and the web root so that scripts

Performance improved by XCache 2.0.0

XCache is a open-source opcode cacher, which means that it accelerates the performance of PHP on servers. It optimizes performance by removing the compilation time of PHP scripts by caching the compiled state of PHP scripts into the shm (RAM) and uses the compiled version straight from the RAM. This will increase the rate of

How to upgrade php 5.2 to 5.3 on CentOS 5.8

I have a forum running by phpBB 3. After upgrading to phpBB 3.0.10, the board notice said, from phpBB 3.1, the next version, it will not support php5.2. phpBB 3.1 “Ascraeus” to require PHP 5.3.2 My server is running php 5.2.17 on CentOS 5.8. To prevent the future problem I decide to upgrade php version