<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 25 May 2013 06:23:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Setting up a connection to the Zend Developer Cloud on Linux]]></title>
      <guid>http://www.phpdeveloper.org/news/17204</guid>
      <link>http://www.phpdeveloper.org/news/17204</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a method in one of his latest posts for hooking your linux-based system <a href="http://www.eschrade.com/page/setting-up-a-connection-to-the-zend-developer-cloud-on-linux">into Zend's phpcloud</a> platform, complete with an automatic upload (so you're not constantly sftp-ing).
</p>
<blockquote>
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. 
</blockquote>
<p>
His script (<a href="https://github.com/kschroeder/PHP-INotify-SFTP-script/blob/master/push-changes.php">available on github</a>) uses the  <a href="http://pecl.php.net/package/inotify">PECL inotify package</a> 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.
</p>]]></description>
      <pubDate>Fri, 02 Dec 2011 10:04:10 -0600</pubDate>
    </item>
  </channel>
</rss>
