Using Mongo with PHPCloud

With the release that occurred on March 4th we have added Mongo support to the DevCloud.  So connecting to a Mongo instance is extremely easy to do now.  We don’t provide access to a Mongo collection but you do have the tools to connect to various Mongo service providers.  For this example I used MongoHQ though any service running Mongo sound work. First go to whichever service you are using and create a new collection.  Like this Then click on the Zend Server link for your container.  Like this Go to

Using Jabber/XMPP for event notification with Zend Server and/or PHPCloud

I have removed this service due to possible abuse.  It was intended to be a test and I think I’ve gotten what I need   There was something I’ve wanted to try for a little while.  Messaging is something that’s interested me and with all of the work I’ve been doing on the Zend Developer Cloud I’ve been interested in seeing how to make things communicate a little better.  One of the ideas I’ve wanted to try was to use instant messaging for notification when  slow request or large memory

URL rewriting in PHPCloud

Found out today that the typical rewrite rule 1 2 3 4 5 6 7 RewriteEngine On   RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ – [NC,L] RewriteRule ^.*$ index.php [NC,L]RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ – [NC,L] RewriteRule ^.*$ index.php [NC,L] doesn’t work too well in the DevCloud.  I would get log errors like [Tue Feb 07 13:06:33 2012] [error] [client] Request exceeded the limit of 10 internal redirects due to probable configuration

Looking for DevCloud stories

The Zend DevCloud was released at ZendCon as a technology preview.  I do a lot of my development work on the DevCloud now and I have my stories.  But I’m interested in hearing yours.  If you are using DevCloud for serious development work I would like to hear about it.  We would like to put together some examples of some cool work that people are doing on it.  So if you’d like a chance at getting some featured coverage on the DevCloud, please email me at [email protected] (no, I don’t

PHP Cloud and education

One of the problems that anyone who has taught a programming class will know is that the worst part of the class isn’t bored students, inane questions or poor material, but, rather, getting started.  I delivered Zend’s training for 3 years (myself among several others) and I can say, without reservation, that one of the most consistent impediments to the classes were getting things up and running. Getting students to install stuff on their local desktops was often problematic.  They might have some conflicting software that would need to be

Debug tunneling with the Zend DevCloud

Found out something interesting.  If you’ll notice there are no blog posts on how to debug PHP with the DevCloud.  That’s because while I can get it to work quite easily with Studio I was having a bear of a time getting it to work with anything else.  Since Studio worked I knew it was NOT the DevCloud’s fault, but had no idea what could be going on.  Turns out that the version of Putty that you have for setting up the tunneling matters.  If you have version 0.60, like

Connecting to the Zend Developer Cloud with PDT

A couple of weeks ago I wrote a series of blog posts on how to connect to the Zend Developer cloud with various IDEs.  Except one that I missed… PDT. The deployment plugin is already installed in PDT 3 and so you already will have the ability to push to the DevCloud instance. PDT, as opposed to Zend Studio, does not support the automatic remote server integration.  In other words, there will be a (simple) extra step. First off, create your application the way you normally would. Then associate your

Connecting to the Zend Developer Cloud using NetBeans for PHP

Getting NetBeans connected to the Zend Developer Cloud is actually pretty simple…  if you have NetBeans 7.1 which is currently in RC.  NetBeans 7.0 has a bug that won’t allow you to connect to Git over HTTPS.  NetBeans 7.1 fixes that issue.  You will also need to make sure that you have the Git module installed. Start by deploying one of the PHP applications from the DevCloud UI. Then go to Team -> Git -> Clone and enter in your container details Click Next and select the only branch available.