News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Running WordPress on OpenShift Part2
July 14, 2014 @ 13:22:52

NetTuts.com has posted the second part of their series about getting WordPress up and running on a RedHat OpenShift cloud instance. In part one of the series they looked at OpenShift as a whole and created the initial application. This part focuses more on setting up the right environment and getting WordPress installed using their rhc client tool.

In this tutorial, we will dive deeply into OpenShift to understand the custom build and deployment process. We will also learn the command-line tool for logging and troubleshooting when our application is down. [...] We did almost all of those tasks using the web interface which is great and very convenient; however, in addition to the dashboard, OpenShift offers a powerful client tool call rhc client.

They guide you through the installation of the command-line client (rhc) as a Ruby gem and include the results of the "help" command. They include example commands showing how to: ssh into the instance, deploy the application and add more functionality to prepare for the WordPress install. There's also some information about environment variables and creating a custom build process to deploy WordPress correctly.

0 comments voice your opinion now!
openshift tutorial install configure wordpress environment commandline

Link: http://code.tutsplus.com/tutorials/running-wordpress-on-openshift-part2--cms-19947

NetTuts.com:
Running WordPress on OpenShift An Introduction
July 09, 2014 @ 11:07:47

On the NetTuts site today there's a new tutorial that wants to help you get WordPress installed on OpenShift, the platform-as-a-service offering from RedHat that includes full PHP support.

OpenShift is a very good platform for running a WordPress site. PagodaBox and AppFog fair for hosting PHP applications for free; however, PagodaBox is quite slow, and has a hard limit of 10MB of MySQL for free plan. AppFog no longer supports custom domain on their free plan. You can also run PHP on Heroku, but it's a bit on the slow, as well. OpenShift solves all of above problems: It's fast enough, offers a free custom domain, offers large disk space, and a significant amount of MySQL storage.

They start by introducing some of the features OpenShift offers and the basics of what it includes in the free plans. They then walk you through the full process to getting an account set up and creating the environment for the WordPress install:

  • Sign Up for an Account
  • Setup Your Publish Key
  • Get Your WordPress Up (includes code changes if porting an existing installation)
  • Use Your Own Domain
  • Setup phpMyAdmin

They also offer some tips post-installation to help keep things up and running (monitored), enabling remote SSH access and using SFTP to connect to the application if there's a need.

0 comments voice your opinion now!
openshift tutorial install configure wordpress paas

Link: http://code.tutsplus.com/tutorials/running-wordpress-on-openshift-an-introduction--cms-20058

SitePoint PHP Blog:
Nginx, PHP5.5 and Phalcon on OpenShift
January 02, 2014 @ 10:43:42

On the SitePoint PHP blog today Bruno Skvorc goes through the full installation process around getting Nginx and Phalcon up and running on an OpenShift instance.

In this tutorial, adapted from the step by step trial and error procedure of duythien, and with his full blessing, we'll cover the installation procedure of Phaclon on yet another environment: OpenShift. The procedure is bloody - OpenShift does not make it easy for us to deploy custom environments - but the rewards are well worth it.

As he mentioned, it's not the easiest process, but he's laid it all out there to help make it simple for you. He's broken it up into a number of different steps:

  • Setting up your OpenShift account (using the free tier)
  • Creating and cloning an application
  • Cloning a helper repo with a ".openshift" file included
  • Grabbing the latest Phalcon and making the config file to set it up correctly
  • Configuring Nginx
0 comments voice your opinion now!
nginx phalcon openshift tutorial install configure

Link: http://www.sitepoint.com/nginx-php5-5-phalcon-openshift

Hasin Hayder:
Install and Run Symfony 2.3.6 projects in OpenShift instances in just one minute
October 28, 2013 @ 10:32:36

Hasin Hayder has a new post today sharing a boilerplate configuration and setup he's created to get Symfony2 running on OpenShift in "just one minute". OpenShift is RedHat's platform as a service that makes it easier to set up and deploy web apps.

Okay, I have written an article 2 days ago where I went through every details. But today. I have created a blank symfony container with all the necessary deploy hook and mods so that you can get your symfony 2 project up and running in an openshift container within a minute, fully automated, seriously!

This repository helps you set up the Symfony instance that's ready to go. He walks you through the steps you'll need to create the OpenShift "gear" and configure it to work with Symfony and MySQL.

0 comments voice your opinion now!
symfony boilerplate repository openshift instance configure install

Link: http://hasin.me/2013/10/27/install-and-run-symfony-2-3-0-in-openshift-instances-in-just-one-minute-with-this-boilerplate-repository/

Hasin Hayder:
Running Symfony 2 Applications in OpenShift
October 25, 2013 @ 09:10:57

Hasin Hayder has posted a guide to getting a Symfony2 application up and running in an OpenShift instance. OpenShift is a cloud hosting service that makes deploying and scaling applications simpler.

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.

He shows you how to set up a Zend Server (5.6) instance and grab the repository through a git checkout. The commands to create a new Symfony2 application (via Composer) are also included. With a small change to the .gitignore, the needed configuration files and directories will no longer be ignored and will be pushed. There's also a bit of information about setting up and using the provided database instance.

0 comments voice your opinion now!
openshift symfony2 application tutorial introduction zendserver paas

Link: http://hasin.me/2013/10/25/running-symfony-2-applications-in-openshift/

OpenShift Blog:
Integrate PHPStorm and SFTP into OpenShift
November 09, 2012 @ 12:47:45

On the RedHat OpenShift blog (platform-as-a-service PHP hosting) they have a new post showing you how to integrate PHPStorm into OpenShift and make deployment simpler.

"PhpStorm is a lightweight and smart PHP IDE focused on developer productivity that deeply understands your code, provides smart code completion, quick navigation and on-the-fly error checking. It is always ready to help you shape your code, run unit-tests or provide visual debugging." In this tutorial I will show you how to use build in functionality in PhpStorm to deploy PHP application to OpenShift.

Screenshots are included in the post to guide you through the process - creating a new project, setting up the SFTP configuration and where to go to upload the changes to your system to OpenShift.

0 comments voice your opinion now!
phpsotrm openshift paas tutorial sftp deploy


Matthew Weier O'Phinney:
OpenShift, ZF2, and Composer
November 02, 2012 @ 11:15:43

Matthew Weier O'Phinney was recently looking around for a cloud host that he could test out a few things on. He's shared some of that experience in his latest post to his site, specifically in dealing with the OpenShift service from RedHat.

I considered Amazon, Orchestra.io, and a few others, but was concerned about the idea of a ~$50/month cost for something I'm uncertain about. When I asked in #zftalk.dev, someone suggested OpenShift as an idea, and coincidentally, the very next day Zend announced a partnership with RedHat surrounding OpenShift. The stars were in alignment. In the past month, in the few spare moments I've had (which included an excellent OpenShift hackathon at ZendCon), I've created a quick application that I've deployed and tested in OpenShift. These are my findings.

He talks about getting a Zend Framework 2 application up and running with a few changes to the default directory structure they provide. He also talks about using Composer as a deploy task. He mentions a few of the tricks to watch out for as you're deploying your app and some of the "good parts" he found about the product and experience (like being able to use CNAMEs and having SSH access to the instance by default.

0 comments voice your opinion now!
openshift composer zendframework2 experience


OpenShift Blog:
Getting started with PHP, CodeIgniter, MongoDB, and the cloud (OpenShift)
August 10, 2012 @ 08:44:57

On the OpenShift blog today there's a new post about how to get started using their service together with CodeIgniter and MongoDB to create a simple site.

In this blog post, I am going to show you how to get up and running with CodeIgniter and MongoDB. Best of all, I will show you how to get all of this deployed to a fully scalable environment using OpenShift from Red Hat.

The process involves:

  • Creating an OpenShift account
  • Installing the RHC client tools
  • Creating an OpenShift application
  • Adding mongodb to your application
  • Adding mongodb support to CodeIgniter
  • Creating a Model, View, and Controller
  • Deploy and test your application

You can then SSH into the instance and look at the database to call a "find()" and see what's there.

0 comments voice your opinion now!
openshift codeigniter mongodb tutorial introduction paas



Community Events





Don't see your event here?
Let us know!


release language conference community developer opinion zendserver podcast symfony introduction deployment library laravel framework bugfix interview tips api series list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework