How to install ioncube Loader in OpenShift with WorkFlow Guide
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 First, you have to have created a gear with the Zend cartridge. (why? because you can go to zend/configuration/etc/php.ini to add the php.ini setting) 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 You will end up with a folder called 'ioncube' Run 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. Put the loader-wizard.php into your $OPENSHIFT_REPO_DIR/php directory Exit out of your ssh connection Run rhc app restart $appname where $appname is the name of your application OR you can restart on the web console. View the $appname-$domain.rhcloud.com/loader-wizard.php in your browser and it should say that the extension is installed correctly now.
How To Stop Openshift From Creating Log Files
Fluentd on Openshift?
set-env PATH in Openshift
Updating NPM on OpenShift
How to pass variable when adding a cartridge?
OpenShift Online: Change gear size of existing scaled application
Why do OpenShift action hook scripts fail with strange errors?
Xorg on OpenShift
Putting private information on Public PaaS?
OPENSHIFT - 'wsgi.py' does not contain WSGI application 'application'
How do I install pdftk on Openshift?
Openshift hooks during gear restart
Openshift - Unable to set the env in JBoss as7 cartridges
How can I make a custom 503 page on OpenShift?
Openshift: Cron job fails to run
OpenShift Enterprise creating directories in root file system