All Questions

Tagged with
Filter by
Sorted by
Tagged with
14 votes
1 answer
6k views

Can't send email through openshift

I have website hosted at OpenShift. I tried to send mail using mail function of php. It just returned true, but no mail is received to whom I had sent. Please tell me procedure for sending the mail. ...
aagam94's user avatar
  • 613
13 votes
4 answers
20k views

how to connect to the database in openshift application

I did as following MySQL 5.1 database added. Please make note of these credentials: Root User: xxxxxxx Root Password: xxxxxxx Database Name: php Connection URL: mysql://$...
Sami's user avatar
  • 141
12 votes
1 answer
32k views

Symfony2: You have requested a non-existent parameter

I have checked similar questions on SO, but they did not solve my issue. I am deploying a Symfony2 application on Openshift. It works well on my Windows 10 laptop, but I am getting the following ...
Jérôme Verstrynge's user avatar
12 votes
3 answers
29k views

Environment variable in PHP-docker container

I want to show an env var in my docker container. The PHP script looks like this: <html> <head> <title>Show Use of environment variables</title> </head> <body>...
lova's user avatar
  • 849
12 votes
2 answers
4k views

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. <?php echo "Hello"; Task I am trying to download the text from an ...
theapache64's user avatar
  • 11.4k
7 votes
1 answer
6k views

sendmail on OpenShift / PHP / CodeIgniter

I'm looking for OpenShift configuration information for sendmail functionality. It's not totally clear to me what the preferred way of doing it is. Some articles say that one must have the pear/...
Maxcot's user avatar
  • 1,595
7 votes
1 answer
2k views

URLs Not Allowed: Facebook PHP login

I keep getting the following error Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL ...
Anthony's user avatar
  • 4,010
6 votes
2 answers
9k views

How to open DB connection in Openshift? [closed]

This is my dbcon file in PHP. Basically, I need to connect my PHP application with openshift MySQL DB. Here's what I did. <?php // Database Connection Setting $dbhost = "127.0.0.1"; // ...
Kakashi Hatake's user avatar
6 votes
1 answer
2k views

Openshift redirects wp-admin to https

In general option in wordpress, I have changed the wordpress directory to be on http://mywebsite.com but wordpress dashboard is still in htpps causing mixed content warning and images in dashboard are ...
Indra's user avatar
  • 1,338
6 votes
2 answers
4k views

Openshift, 503 Service Unavailable. No server is available to handle this request

I have a scalable PHP 5.4 cartridge on Openshift, with a bronze account. It's a wordpress blog and I've used it until 2 weeks ago. Today, I returned to visit it and it says: 503 Service ...
Mich Dart's user avatar
  • 2,412
5 votes
1 answer
724 views

Redirect loop with CloudFlare and OpenShift and a WordPress application

I created my WordPress application on OpenShift, and it responds to the URL blog-porta8080.rhcloud.com. I created 2 aliases on OpenShift I bought my domain (porta8080.com.br) from a brazilian ...
Victor Ferreira's user avatar
5 votes
1 answer
1k views

How to change default GMT timezone of php 5.4 application on OpenShift?

I recently subscribed to OpenShift and deployed a new php 5.4 application, everything works fine, but I can't seem to change the default GMT php timezone. Here's where this GMT timezone is defined: &...
franky duke's user avatar
5 votes
0 answers
1k views

The pod has been stuck in the pending state for more than five minutes

Hello I new to openshift online . Tried to deploy mysql pod and got this Error n command line error: update acceptor rejected mysql-8: pods for deployment "mysql-8" took longer than 600 seconds to ...
henrybbosa's user avatar
  • 1,127
4 votes
5 answers
4k views

How to access Openshift mysql via locally installed wamp phpMyAdmin?

i am using openshift free tier (3 gears). My scalable app uses PHP and MySQL. But unavailability of phpMyAdmin credentials for 3 gears scalable app it's difficult for me to access Mysql table entries. ...
GiLL's user avatar
  • 354
4 votes
3 answers
4k views

PHP on OpenShift: How to enable errors and warnings?

I have moved my app to OpenShift and now, for convenience of getting it actually work, I'd like to enable in-page errors and warnings. Currently, I see a blank page. How can I enable errors? In PHP, ...
Ondra Žižka's user avatar
4 votes
2 answers
3k views

How to run (or should I run) Composer on Openshift?

I am trying to create ZendFramework's Skeleton application on Openshift. I have created a PHP5 application using these instructions and cloned it locally. I cloned the ZendFramework skeleton ...
Jérôme Verstrynge's user avatar
4 votes
2 answers
1k views

How can I access socket through Openshift

I register in the Openshift.com and create a catridge. But when I need to deploy Mosquitto, a MQTT Server, which is accessed through tcp or ssl protocol, and I need visit from public IP. Does ...
user3114495's user avatar
4 votes
0 answers
1k views

Proxy Error 502 Openshift

I'am using Openshift Demo in my local machine and Drupal project, when i submit in a form.php i need to create an app with the REST API with the curl lib, and i get the : Proxy Error 502 The proxy ...
user3524724's user avatar
3 votes
2 answers
4k views

openshift v3 sed couldn't open temporary file

hi i tried to deploy my docker image to openshift online v3 but failed with message sed: couldn't open temporary file /etc/php/7.0/apache2/sedJpqwn4: permission denied my docker image contain ...
user8212655's user avatar
3 votes
1 answer
2k views

Confused about deplyoing application on openshift server using git

I am using openshift server to host my php application. I have added files to my server using sftp to ~/app-root/runtime/repo directory. The same files are accesible over the web. But when I git clone ...
Sanks's user avatar
  • 141
3 votes
2 answers
2k views

How can I composer update on OpenShift?

I am trying to use Slim on OpenShift with a free node. I can run composer update from the SSH sessions without any problem. The only problem is every time I want to commit files through git I have ...
cardeol's user avatar
  • 2,238
3 votes
1 answer
6k views

Static IP address of Openshift app [closed]

How to find static IP address of my non scalable app(free tier). I need it for My dns management A(HOST)entry field.any rhc window command
gill's user avatar
  • 83
3 votes
3 answers
1k views

.env/user_vars Environment Variables are returning NULL

I am trying to setup Laravel 5.2 on Openshift using https://github.com/boekkooi/openshift-cartridge-php https://github.com/boekkooi/openshift-cartridge-nginx I am able to set the user variables like ...
Manu Narsaria's user avatar
3 votes
2 answers
840 views

404 Not Found error after commit changes on PHP application Openshift

I'm having problems with my PHP applications, I have created and deleted several of them because everytime I commit changes my application crushes and it shows the "404 Not Found" error. I'm sure ...
Christhian 's user avatar
3 votes
1 answer
2k views

How to connect to Openshift database using PhpStorm?

I've tried to connect to OpenShift MySQL database using the following settings: And but I've got following error message: Connection to ConnectionNAME failed java.sql.SQLException: ...
llvk's user avatar
  • 248
3 votes
1 answer
854 views

Upload file using PHP on OpenShift

I'm trying to upload an image using the following code: index.php: <form action="upload_photo.php" method="post" enctype="multipart/form-data"> <p> Upload a new photo to the ...
Mohammed Aouf Zouag's user avatar
3 votes
1 answer
554 views

wordpress on openshift custom domain "too many redirects" error, works on openshift default domain

wordpress on openshift custom domain "too many redirects" error, works on openshift default domain curl request on custom domain does not work curl -vvv http://www.hobbyhap.com/h ...
Samuel's user avatar
  • 83
3 votes
1 answer
2k views

Access uploaded file on $OPENSHIFT_DATA_DIR

I uploaded some images to the folder $OPENSHIFT_DATA_DIR/uploaded, but I can't seem to retrieve those files using: $_ENV['$OPENSHIFT_DATA_DIR'].'uploaded/filename.jpg'; The error message was ...
joeleba's user avatar
  • 176
3 votes
0 answers
2k views

OpenShift WordPress - How to define WP_CONTENT_DIR and WP_CONTENT_URL correctly to fix broken theme options in some themes?

The theme options panel does not load correctly with certain themes on OpenShift. According to the theme developer this is because the theme is built using the redux options framework. The ...
nemonem's user avatar
  • 31
2 votes
2 answers
2k views

OpenShift action hook deploy issues

I have a symfony 2 project I am trying to launch on OpenShift online. I created the directory as required and running symfony locally works perfect. However, when I deploy to my OpenShift ...
Jason M.'s user avatar
  • 643
2 votes
1 answer
2k views

PHP Parse error caused by SVG

I have this SVG on the server. Everything is fine, until I try to use PHP to include it into my page. When I do that, it causes 503 errors to appear on all pages, not just the one I have the SVG ...
flyingfisch's user avatar
2 votes
2 answers
2k views

How to update catridges on OpenShift?

Hey guys its a very general question, but I need your help. I already have an application at [Edited - Removed my site's link] which uses php 5.3 & now OpenShift has a new catridge called php 5.4.....
Shreyansh's user avatar
2 votes
2 answers
1k views

PHP 5.4 on RedHat Openshift Online

I'm trying to explore openshift as a possible service to use for a project or two. I require PHP 5.4 due to the fact that a dependency I'm using makes use of PHP Traits. Obviously the default on ...
twmbx's user avatar
  • 105
2 votes
2 answers
540 views

Upload HTML website files to Openshift PHP 5.4

This is my first website (website itself is all done). I'm trying to upload my website files to my Openshift PHP 5.4 domain so when I click my OpenShift domain url, my website appears (pretty simple, ...
HTMLHelpMe's user avatar
2 votes
1 answer
1k views

silex routes not working

I;m having a problem with my routing on a silex app I am deploying. I have successfully deployed the app using OpenShift you can see the site here. The problem is when I try to go to any page except ...
Ben S's user avatar
  • 43
2 votes
1 answer
3k views

Deploy Laravel application on OpenShift

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can ...
ikartik90's user avatar
  • 2,735
2 votes
1 answer
1k views

How do file permissions work on OpenShift?

I think I'm misunderstanding something fundamental about file permissions in an OpenShift PHP app. How do they actually work? I develop on OSX and push changes using SourceTree. When I log in to ...
Cascade's user avatar
  • 195
2 votes
1 answer
543 views

Openshift App defaults back to php 5.3

I have a wordpress app hosted on openshift, deployed using the php-5.4 cartridge. As of today it is using the php-5.3 binary again, which throws a lot of errors. I have restarted the application as ...
thankyou's user avatar
2 votes
3 answers
920 views

Schedule php script at certain date to just run once in Openshift

I need to develop a web application to let me scheduled tasks at certain date. I have checked cron jobs and looks like is just for periodic tasks. In the other hand I just need schedule a single task ...
Ricardo's user avatar
  • 8,121
2 votes
1 answer
1k views

503 Service Unavailable, PHP 5.3 Web App

My PHP wordpress app (reversiblean-reversiblean.rhcloud.com) returns HTTP Error '503 Service Unavailable, No server is available to handle this request.', ongoing for 1d 22h I haven't made any ...
Gayan Weerakutti's user avatar
2 votes
1 answer
7k views

Suppress "Ambiguous class resolution" warning on composer dump-autoload -o

I'm in the follwoing situation: I want to deploy a php-app via "git push" on openshift. Dependencies are resolved via composer. The composer.lock file (locking the dependencies to the specific wanted ...
Rangad's user avatar
  • 2,110
2 votes
2 answers
2k views

Openshift 3 CronJob inside running container

If I understand it correctly, you can configure Openshift to run cronjobs which will run a job periodically. Also a job seems to run a new container each time the cronjob fires. I need a way to run a ...
Nico Zimmermann's user avatar
2 votes
1 answer
997 views

Joomla 3.5.1 on Openshift MySQL 5.5 out of sort memory

Fresh install of Joomla on OpenShift and when I open go to Extensions > Modules, i get the following error message: Error Out of sort memory, consider increasing server sort buffer size SQL=SELECT a....
KuriosCurious's user avatar
2 votes
1 answer
438 views

Laravel 5.0 git push failed in openshift

When i push my project in openshift it's show some error and after that home page show blank. Please tell me how to overcome this problem. Show this Error: remote: Migrating storage and log ...
Zahidul Islam's user avatar
2 votes
1 answer
579 views

How do I run a C++ binary on OpenShift via PHP?

I SSH'd into my OpenShift application and compiled the C++ file using gcc and then downloaded it to my computer (for backup). I added it to git repo and pushed it. How do I execute it in the current ...
Akshat Mittal's user avatar
2 votes
2 answers
1k views

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 ...
Chris Schmitz's user avatar
2 votes
1 answer
182 views

How to push many times and deploy once a day on openshift jenkins

I am running a php application on openshift and it's live. I'm using jenkins for continuous integration but I have an issue. Everytime I push my changes to openshift's git repository, jenkins builds ...
user3742147's user avatar
2 votes
2 answers
1k views

Openshift.com - unable to connect with mysql

I am trying to establish a connection with mysql-5.1, but it shows errors like "could not connect" or when I change the hostname "Could not connect: No such file or directory". My file reads like ...
user3524025's user avatar
2 votes
1 answer
804 views

phabricator on redhat's openshift

I installed phabricator on openshift using a quickstart from github https://github.com/CodeBlock/phabricator-openshift-quickstart I got it running up fine, but I now have two issues: 1.) A setup ...
somedev's user avatar
  • 468
2 votes
1 answer
173 views

Connect to Mongo via PHP

I have an OpenShift Dev. account. I just installed Mongo and RockMongo. I am not running node.js. Off of the RockMongo interface they have a link to this: http://www.php.net/manual/en/book.mongo.php ...
JimF's user avatar
  • 323

1
2 3 4 5
7