background preloader


Facebook Twitter

OpenShift. Symfony2 - symfony 2.1 application not work on free openshift. Php symfony ERR_CONTENT_DECODING_FAILED on openshift - I have a php 5.4 gear on openshift on which I can run my wordpress installation. However, when I try to deploy my symfony app, I get Content Encoding Error, it seems like the html output is broken (not yet complete). I've tried modifying the .htaccess file as well as enable/disable output buffering and/or output compression setting on the apache's httpd.conf. Here is the output from curl: I really have no idea why I do not receive the entire html output, Content-Length header output looks suspiciously small, but google search and php/apache documentation says that Content-Length header will not be reliable for gzip output. I've been debugging this thingy for quite some time now and really run out of idea to tackle it. The app coding is fine, as I have deployed the exact same copy on my localhost during development.

Here is the phpinfo() output for my apache configuration on openshift: phpinfo on openshift 1 answer The best way to deploy a Symfony app to Openshift is: <? #! Relevancy: 89% net. . Fuelphp - Update composer.phar on Openshift. Apache - php symfony ERR_CONTENT_DECODING_FAILED on openshift. Running Symfony 2 Applications in OpenShift. Openshift is a fantastic Polyglot PaaS from Redhat, and you can do a lot of things with these containers. The good news is that with free accounts, OpenShift gives three gears for free, forever. Today, in this article I will show you how to install and run your Symfony applications in OpenShift. After you have created your free account in OpenShift, go to the applications page and create a new “Zend Server 5.6” application. You can choose “PHP 5.3” containers as well, but there are many benefits of choosing ZendServer.

Before we dive into the details, please MAKE SURE that you have added your public key in your openshift settings section. So after creating the new ZendServer 5.6 application and adding our public key in our OpenShift account, this is time to check out from our application’s git repository. Now, follow these steps to check out this git repository and create a blank symfony application inside it’s php directory. Now we need to setup the database details. Like this: Installation - OpenShift rhc setup using multiple accounts. Deploying Symfony on OpenShift. PHP Getting Started. ColorMag Theme Instructions | Theme Grill. This theme uses the widgets to showcase your news sections.

One of it is Front Page: Slider Area. It is especially useful for adding the TG: Featured Cat Slider widget. For setting this up:- Front Page: Slider In the dashboard, go to Appearance > Customize. Click on the Widgets > Front Page: Slider Area section. Here, add the TG: Featured Cat Slider widget and select whichever category you want to display for it. Front Page: Area Beside Slider This theme uses the widgets to showcase your news sections. Front Page: Content Top Section This theme uses the widgets to showcase your news sections. Note: This is also applied to the Front Page: Content Bottom Section widget. 30Front Page: Content Middle Left Section This theme uses the widgets to showcase your news sections.

Note: This is also applied to the Front Page: Content Middle Right Section widget. Front Page display as Static/Blog page. OpenShift Online for Windows. After installation is complete, open the Command Prompt and run: The OpenShift interactive setup wizard displays and prompts you to complete the rest of the process. You’ll be prompted for your OpenShift username and password: Login to Password: password You are then prompted to generate an authorization token. Answering yes stores a token in your home directory to be used on subsequent requests. OpenShift can create and store a token on disk which allows to you to access the server without using your password. After creating a configuration file, setup will configure SSH keys so that your system can remotely connect to your applications, including deploying your applications using Git: No SSH keys were found.

After the new SSH keys are generated, the public key,, must be uploaded to the OpenShift server to authenticate your system to the remote server. Your public ssh key must be uploaded to the OpenShift server to access code. Forum : Ruby et Windows, problèmes récurrents. J'ai decidé de créer ce topic, car je me suis rendu compte que même si le titre du topic est différent, il y a souvent des problèmes récurrents avec Ruby.

Ruby et Windows ne s'aiment pas trop, je vous recommande fortement de passer par une vm. Problème #1 : Mauvais encodage Vous avez cette erreur qui survient quand vous essayez d'installer une gem ? ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+2019 to CP850 in conversion from UTF-16LE to UTF-8 to CP850 Vous avez deux solutions à ce problème : Pour une utilisation ponctuelle. Chcp 1252 Si vous souhaitez résoudre le problème une bonne fois pour toute : Vous devez trouver le fichier "registry.rb" dans votre dossier d'installation Ruby et aller à la ligne #70 : LOCALE = Encoding::UTF_8 Problème #2 : Jamais sans mon SSL Vous avez plusieurs solutions pour ce problème : Pour une utilisation ponctuelle : gem install xxxx --source= Vous pouvez également forcer gem à passer par http : (Pour les fainéants)

Running WordPress on OpenShift: An Introduction. OpenShift is a PaaS that allow you to run your own app for free with low resources. It offers 1GB storage and 512MB RAM, and has support for custom domains. It's faster than Heroku, PagodaBox, and AppFog giving you SSH access to your app server, running in a separate environment. It's just like a real server, but you get it for free. OpenShift is a very good platform for running a WordPress site.

OpenShift solve all of above problems: It's fast enough, offers a free custom domain, offers large disk space, and a significant amount of MySQL storage. The free plan supports: 15 pages/second~50k visitors per monthThat's a good amount for most of personal blog. OpenShift is a next-generation cloud application platform that makes it easy to develop, deploy, and scale applications in the cloud – public or private. Let's break it down. Ease of Development: Quickly create an app environment with many language and run time libraries from the website UI or command line. If you get this result: Save it.