I received an email from Hostgator that now they provide PHP version 5.3, 5.4 , and 5.5 in my hosting machine.
So I went ahead to enable Phalcon on each of the PHP versions, compiled Phalcon module for each PHP version in my Virualbox CentOS linux.
I noticed that the Phalcon uses much less memory under 5.4 and 5.5. It uses like 1.5 MB under 5.3, and now it uses 800K memory space. Cool!
Speedwise, I can hardly notice much differences, but it did feel that 5.4 and 5.5 are faster than 5.3.
I am sharing them with you! Please enjoy.
Here is working demo of Album O’ Rama demo app.
[How to use.]
1. Unzip the zip file into a folder. This will be the custom path to store php.ini
file. The Phalcon module so file is located under the ext
folder.
Let’s say the full path of the folder is /home/chris123/php54
.
2. Edit the php.ini
file and Update the extension path of the phalcon module at the very last line.
extension=/home/chris123/php54/ext/phalcon131_php54.so
3. Copy the .htaccess
file into the root path of your Phalcon application. Make sure that you point the suPHP_ConfigPath to the path where our custom php.ini
is located.
AddHandler application/x-httpd-php54 .php <IfModule mod_suphp.c> suPHP_ConfigPath /home/chris123/php54 <Files php.ini> order allow,deny deny from all </Files> </IfModule>
Thanks!
Phalcon 1.3.1 PHP module for PHP 5.3 under Linux x86_64
Phalcon 1.3.1 PHP module for PHP 5.4 under Linux x86_64
Phalcon 1.3.1 PHP module for PHP 5.5 under Linux x86_64