Tag: php5.5

Enable jpeg in PHP GD support

I have a PHP 5.5.13 which is compiled from source. With GD support. I saw some image thumb is not shown in the webpage of Joomla. The error log has following errors: Call to undefined function: imagecreatefromjpeg() When I check the phpinfo, I saw GIF enabled, PNG enabled, WBMP enabled, XBM enabled, but jpeg is

Performance between PHP5.3.3 and PHP5.5.12

I installed PHP5.3.3 and PHP5.4.28 at the same time in one VirtualBox guest OS. Basic information. Host OS: Windows 7 Ultimate 64bit VirtualBox 4.3.12 Guest OS: CentOS 6.5 64bit with 512MB base memory PHP5.3.3 is installed as mod_php PHP5.5.12 is installed as php-fpm with mod_fastcgi   Run PHP BENCHMARK SCRIPT to get the total time.

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 5.5 is 20% faster than PHP5.3

It is a general test on a Centos 6.4 system. The benchmark script is made by http://www.php-benchmark-script.com/. The first time I run it on the updated default Centos6.4. The php version is 5.3.3. I think it has Xcache installed. The test result is Total time: 8.482 sec. Breakdown as below: test_math 2.332 sec. test_stringmanipulation :