openshift


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.

Related Links

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

Categories

HOME
nam
mc
yaml
exchange-server
couchdb
tcsh
braintree
iverilog
mongoid
yql
gprs
firebase-database
specifications
elastic-load-balancer
fasm
alljoyn
clish
multi-step
live-streaming
texas-instruments
supervisord
rest-assured
uima
google-sites
http-authentication
multiple-tables
infrared
android-custom-view
yii2-basic-app
workday
restier
opentext
unordered-multimap
network-analysis
docx4j
locks
steam-web-api
opnet
xcrun
gsp
android-canvas
db2-luw
text-decorations
assert
swfupload
klee
hypothesis-test
coverage.py
vungle-ads
brightscript
comm
gestures
skip-lists
simple-schema
dex
mpmovieplayercontroller
allegro
elastic4s
pjax
metabase
streamwriter
visual-studio-monaco
apache-pig-grunt
jeasyui
mathnet
utf-16
polymerfire
persistent-object-store
flush
teensy
cortana
servicestack-bsd
nastran
cfwheels
auto-generate
360-degrees
sequence-sql
datagridcomboboxcolumn
xcode6.3.1
android-2.3-gingerbread
git-reset
two.js
jini
stripe.net
air-native-extension
strdup
grails-2.3
san
eager-loading
days
cmath
red-system
cgrectmake
workflow-manager-1.x
chronometer
firebird1.5
uipangesturerecognizer
delphi-prism
datacontracts
azure-acs
anonymous-types
bass
mygeneration
icicles
fgetc
rawcontacts
twitter-feed
error-detection

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App