Help Needed: Deploying Phalcon on Openshift

I wanted to deploy Phalcon on the openshift after going through some threads I am unable to do so, hence asking for an updated walkthrough if possible. Thanks in advance, I would appreciate if someone can help me with a step by step procedure of activating phalcon on openshift.

Well, what did you do up to this point, where is the actual problem you're having? If Openshift enables you terminal access, and you can compile Phalcon as a shared object (.so), that would be first step.

edited May '16

I was following that guide and got the php and nginx installed but when it comes to building phalcon extension, the process kinds of stalls and the ssh connection is disconnected, i have given it enough time thinking that the process might be going on and added the extension to php.ini file.

I am getting the below error when I try to restart app using ctl_app restart

[27-May-2016 12:53:24] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so' - /var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so: cannot open shared object file: No such file or directory in Unknown on line 0

Please guide me in the right directions. I also tried recompiling using the below commands...

cd cphalcon/build/64bits

make clean

phpize --clean

$OPENSHIFTRUNTIMEDIR/php5/bin/phpize

./configure --with-php-config=$OPENSHIFTRUNTIMEDIR/php5/bin/php-config

make && make install

After running the last command the compiling process starts and the server just disconnects, not sure what I am missing on .

its stalling on the below output and I am being disconnected from the server...

cc -I. -I/var/lib/openshift/5748569b7628e19027000094/app-root/runtime/repo/cphalcon/build/64bits -DPHPATOMINC -I/var/lib/openshift/5748569b7628e19027000094/app-root/runtime/repo/cphalcon/build/64bits/include -I/var/lib/openshift/5748569b7628e19027000094/app-root/runtime/repo/cphalcon/build/64bits/main -I/var/lib/openshift/5748569b7628e19027000094/app-root/runtime/repo/cphalcon/build/64bits -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php/main -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php/TSRM -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php/Zend -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php/ext -I/var/lib/openshift/5748569b7628e19027000094/diy//runtime//php5/include/php/ext/date/lib -DHAVECONFIGH -g -O2 -c /var/lib/openshift/5748569b7628e19027000094/app-root/runtime/repo/cphalcon/build/64bits/phalcon.zep.c -fPIC -DPIC -o .libs/phalcon.o