News Feed
Sections




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

Kevin Schroeder's Blog:
Setting up a connection to the Zend Developer Cloud on Linux
December 02, 2011 @ 10:04:10

Kevin Schroeder has a method in one of his latest posts for hooking your linux-based system into Zend's phpcloud platform, complete with an automatic upload (so you're not constantly sftp-ing).

Connecting with the Zend DevCloud in Linux is actually quite easy if you know how to use SFTP. [...] But, as I said in a previous post, I hate having to do command line stuff for each and every file or commit. I like things to work seamlessly. So what I did was write a PHP script that connects to the DevCloud (or any SSH-based endpoint for that matter) and then monitors all of the files and directories for changes, such as a creation, modification or deletion event.

His script (available on github) uses the PECL inotify package to work, but once its set up, you can have the PHP process running the script in the background, pointed at your web root, and have it upload automatically.

0 comments voice your opinion now!
inotify phpcloud zend cloud sftp automatic push


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: Zend_Cache review

Rafael Dohms' Blog: PHP Development in the Cloud by Ivo Jansch and Vito Chin

Pádraic Brady's Blog: RESTful Web Services with Zend Framework

Wolfgang Drews\' Blog: PHP Frameworks - to use or not to use?

Zend Developer Zone: Zend Core Updates for Oracle and IBM Versions


Community Events





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


interview bugfix install package deployment api list podcast introduction library framework symfony laravel language release tips voicesoftheelephpant opinion community series

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