Run Phalcon PHP Framework on Hostgator Shared Hosting Account for PHP 5.3, 5.4 , and 5.5

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.


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


Latest 2.0.3 version
Phalcon 2.0.3 PHP module for PHP 5.3 under Linux 64bit
Phalcon 2.0.3 PHP module for PHP 5.4 under Linux 64bit
Phalcon 2.0.3 PHP module for PHP 5.5 under Linux 64bit

Old 1.3.1 version
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

  1. Aleph says:

    Thank you for posting this.

    1) Will this have any performance decrements for non-Phalcon software on Hostgator’s shared service?
    2) If we take Album-O-Rama as an example, how many concurrent users do you think Hostgator’s shared service will handle for that sample app?

  2. HanaDaddy says:

    1. I don’t think there will be any performance issue with non-Phalcon software.
    2. There is hard limit of 25 concurrent PHP processes for shared hosting account. So 25 is the maximum regardless of which PHP framework or solution you are using. Therefore it is very important to make your PHP webapp light and fast to complete request as soon as possible.

    Thank you!

  3. TQLong says:

    Can update to phalcon 1.3.4 so

  4. HanaDaddy says:

    I will see what I can do. Thanks

  1. There are no trackbacks for this post yet.

Leave a Reply