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

OpenShift Error: CLIENT_ERROR: WSGI application was not found [closed]
Unable to access website hosted on openshift from united state
Disk quota exceeded - can't run “rhc app-tidy”
Rebuild openshift cartridge without deleting app
FreePascal & OpenShift
OpenShift custom domain sometimes returns 404
Openshift database gets truncated
How do you find the cartridge short names in Openshift?
Openshift access to phpMyAdmin?
Openshift domain shows instead of desired domain
JDK 8 support at DIY cartridge in OpenShift
Openshift Multiple Domains Apps
Can I tweak Openshift's haproxy.cfg using a file in my scalable app's git repository?
Can't download CXF artifacts on JBossFuse running on OpenShift
How to avoid that my server restarts every time I commit something?
NodeJS in OpenShift EADDRINUSE Error

Categories

HOME
devexpress
loopbackjs
plpgsql
iverilog
liferay-7
elk-stack
hyperledger
firebase-database
cdi
wagtail
phpseclib
specifications
nexus3
amazon-emr
clish
business-intelligence
spring-amqp
grocery-crud
dma
susy-sass
string-formatting
cloudsim
social-tables
gollum-wiki
device
mod-wsgi
pubxml
crud
list-comprehension
oracleforms
miniprofiler
materialize
windows2012
commonsware-cwac
fotorama
lxml
polyml
landscape
pdfnet
jade4j
aurelia-cli
tidal-scheduler
suds
grails-spring-security
pyttsx
minikube
adblock
section508
aws-kinesis-firehose
comm
sonatype
android-webservice
nslayoutconstraint
apache-modules
cognos-tm1
gawk
yargs
researchkit
okio
jsonix
pyaudio
android-syncadapter
node-glob
apple-configurator
facebook-ios-sdk
psd
jsr363
m4
godeps
dnx50
android-studio-import
wlanapi
fuseesb
fiware-bosun
juttle
string.format
configurable-product
iodocs
qt5.4
multivariate-testing
object-code
.htpasswd
accountmanager
progress-db
ggts
disjoint-union
session-0-isolation
system-requirements
voice-recording
websphere-6.1
server-name
uipangesturerecognizer
affinetransform
space-partitioning
resharper-5.0
getimagesize
rational-unified-process
source-code-protection
xap
isapi-redirect
code-camp
error-detection

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App