I create an Application with following cartridges - PHP 5.4 - MySQL 5.5 - Phpmyadmin 4.0
What is the full workflow to make the ioncube fully function, and each time I push the repo data won't not deleted / reset?
I do read about https://www.openshift.com/forums/openshift/how-to-install-ioncube-loader
But not really clear for the step.
Credit to cdaley: https://www.openshift.com/forums/openshift/how-to-install-ioncube-loader
ssh
into your gear and cd app-root/data
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
echo $OPENSHIFT_DATA_DIR
and make note of the output nano $HOME/zend/configuration/etc/php.ini
Add this line to the END of the file you are editing (this one depend your php version, can be 5.3, 5.4, 5.5 or even latest version)
zend_extension=<OPENSHIFT_DATA_DIR>ioncube/ioncube_loader_lin_5.3.so
Where you replace with the path from Step 6.
loader-wizard.php
into your $OPENSHIFT_REPO_DIR/php
directory rhc app restart $appname
where $appname is the name of your application OR you can restart on the web console.