Questions tagged [openshift-php-cartidges]
22 questions
12
votes
2 answers
Can't connect through WiFi, but possible through Mobile Data
I've a php file named test.php stored in my Openshift server (http://phpgear-shifz.rhcloud.com/v1/test.php) with the below code.

theapache64
- 10,926
- 9
- 65
- 108
2
votes
2 answers
Openshift Backup - Server Not Reachable
I had openshift 2 starter account where I had my application running.
Openshift 2 been shut down and now I got mail to migrate it to 3
But I don't have backup of an application
I am getting following errors
Upon rhc save-snapshot myapp I am getting…

tictoc
- 23
- 3
2
votes
2 answers
Laravel OpenShift Deployment Issue in database migrations
I am trying to deploy a Laravel 4.2 application on RedHat OpenShift.
I have successfully transferred the code from GitHub but I am stuck at the database integration.
How do I run the migrations?
I have created a new mysql_openshift database…

MercuryX
- 31
- 4
2
votes
2 answers
Where exactly is the document root in my openshift server?
I'm trying out OpenShift for the first time. I'm using the php-5.4 cartridge and I'm trying to deploy a Laravel project.
Laravel requires the document root to point to the public directory which is one level into the framework structure.
I see…

Chris Schmitz
- 20,160
- 30
- 81
- 137
1
vote
0 answers
PHP mcrypt missing in OpenShift
While installing Joomla on OpenShift message was shown that
"PHP mcrypt should be installed or some features of Joomla might not
work properly".
Now the Joomla sample website opens sometimes and sometimes doesn't but shows the…

Jyot Prakash Verma
- 53
- 3
- 7
1
vote
1 answer
Openshift php app not working
I have created a PHP app with git repo. In my aacount it shows that app has started but when I go to the website it shows "Not Found"
(http://ebookstack-niraliacharya.rhcloud.com/)

Neerali Acharya
- 613
- 8
- 12
1
vote
1 answer
Unable to connect openshift mysql using spring boot
I have created application in openshit (tomcat7 type) using spring boot. Below is my connection properties
# Remote Datasource…

Dhanabalan
- 572
- 5
- 19
1
vote
1 answer
No permission to change SELinux booleans
currently I am trying to get the PHP mail() function to work. For this, I would probably need to enable httpd_can_sendmail, but when I try to change it on rhc ssh, permission is denied, even if I try to change it to non-persistently. Access to the…

MetalOn
- 33
- 4
1
vote
1 answer
Error when connecting one app to a different app's database
I was following the instructions in this post:
https://blog.openshift.com/sharing-database-across-applications/
And I have two apps running successfully, with data in my production app, with my reports app up trying to query the production database.…

etm124
- 2,100
- 4
- 41
- 77
1
vote
1 answer
Disable gzip compression on Openshift (php cartridge)
How do I disable gzip compression on Openshift (for specific requests)? More specific: For file downloads served by php - i.e. fpassthrough.
I tried several things:
ini_set('zlib.output_compression', 'Off'); in the php file
apache_setenv('no-gzip',…

daniel-sc
- 1,139
- 11
- 23
1
vote
1 answer
Enable Errors in Openshift PHP
I tried to enable errors in PHP in openshift Cartridge , I was using openshift for past 4 months, everything goes well and with new Cartridge I cant able to enable errors to browser window
The code i used was

jeyanthinath
- 1,651
- 2
- 15
- 22
1
vote
1 answer
Webpage hosted on openshift shows differently on mobile phone
I've have built a countdown webpage using hmtl, css and some jquery and am hosting it on Openshift using a PHP cartridge. Checkout the webpage on http://www.hashworks.co
The server URL to the webpage is http://hashworksco-koble.rhcloud.com and I am…

Vaibhav Khanna
- 11
- 1
0
votes
0 answers
Creating application with OpenShift 3
I'm using the new open shift 3 and I'm trying to create a new app with 3 different sources
the centos/php-56-centos7 - base image
A public github repo - external framework source code
my local project files - 3rd party source code
The project…

Kendall
- 5,065
- 10
- 45
- 70
0
votes
1 answer
Openshift: databases environment variables are not set in PHP
I've created a php application on Openshift. Then I added a MySQL database to my app. Afterward I can see database related variables in SSH shell with env command.
However when I tried to use environment varibles to setup db connection, it does not…

VSB
- 9,825
- 16
- 72
- 145
0
votes
1 answer
As I connect APP OpenShift php with MSSQL remote?
I would like to know how to compile mssql in php5.4 of Openshift? I've heard of freetds, but really I'm a bit of a novice with this and have not managed to make it work.
I want to connect to a remote server from my application MSSQL OpenShift…