<?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>Wed, 22 May 2013 18:11:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sean Coates' Blog: Use `env`]]></title>
      <guid>http://www.phpdeveloper.org/news/17984</guid>
      <link>http://www.phpdeveloper.org/news/17984</link>
      <description><![CDATA[<p>
<i>Sean Coates</i> has posted a reminder for PHP developers (and really anyone executing command-line scripts) to <a href="http://seancoates.com/blogs/use-env">use "env"</a> instead of hard-coding the path to the PHP interpreter.
</p>
<blockquote>
These [support] scripts often run PHP in Gimme Bar land, and we make extensive use of the shebang syntax that uses common Unix practice of putting #!/path/to/interpreter at the beginning of our command-line code. Clearly, this is nothing special -lots of people do exactly this same thing with PHP scripts. One thing I have noticed, though, is that many developers of PHP scripts are not aware of the common Unix(y) environment helper, env.
</blockquote>
<p>
The "env" alias makes use of your currently defined include path to track down a PHP binary to use to execute the script. Since there's only a "best practices" approach to places to put PHP on a server, the "env" usage makes your script more portable and it's one less thing to remember to change.
</p>
<blockquote>
If you distribute a PHP application that has command-line scripts and shebang lines, I encourage you to adopt the practice of making your shebang line "#!/usr/bin/env php". Note that this doesn't just apply to PHP of course, but I've seen a definite lack of env in the PHP world.
</blockquote>]]></description>
      <pubDate>Mon, 21 May 2012 11:58:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin's Blog: How to turn a php script to an exe...for free]]></title>
      <guid>http://www.phpdeveloper.org/news/12509</guid>
      <link>http://www.phpdeveloper.org/news/12509</link>
      <description><![CDATA[<p>
In <a href="http://www.rawseo.com/news/2009/05/13/how-to-turn-a-php-script-to-an-exefor-free/">a new post</a> to his blog today <i>Justin</i> points out a tool you can use - <a href="http://internap.dl.sourceforge.net/sourceforge/wapache/wapache-2.0.0-php-5.0.3.zip">WApache</a> - to turn your PHP script into a stand-alone executable file.
</p>
<blockquote>
There are a few commercial products out there that allow you to turn your php scripts into an executable. While most of them work well, I have found a way to do it for free, using an open source application. This application is called Wapache (based on the apache web server) and it is open source (distributed under the Apache License 2.0). WApache doesn't convert your script directly into an executable, it runs on the combination of a windows app (which uses an embedded IE control) and a stripped down version of apache.
</blockquote>
<p>
The tool acts as a wrapper around the script, making it look and feel like a normal executable Windows file. Your PHP scripts stay intact and can be changed at any time without needing to recompile or anything. There's also some configuration options included that let you customize the interface.
</p>]]></description>
      <pubDate>Thu, 14 May 2009 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  How to turn a php script to an exe...for free]]></title>
      <guid>http://www.phpdeveloper.org/news/8910</guid>
      <link>http://www.phpdeveloper.org/news/8910</link>
      <description><![CDATA[<p>
From the JSLabs blog today, there's a <a href="http://www.whenpenguinsattack.com/2007/10/25/how-to-turn-a-php-script-to-an-exefor-free/">mini-tutorial</a> on how to convert your PHP files into executable files (.exe) to be used on Windows.
</p>
<blockquote>
There are a few commercial products out there that allow you to turn your php scripts into an executable. While most of them work well, I have found a way to do it for free, using an open source application. This application is called <a href="http://internap.dl.sourceforge.net/sourceforge/wapache/wapache-2.0.0-php-5.0.3.zip">Wapache</a> (based on the apache web server) and it is open source (distributed under the Apache License 2.0).
</blockquote>
<p>
WApache does the trick by combining your script with stripped down versions of an IE browser and an Apache web server. This is compiled together and pushed out the other end as an executable file. Instructions are included in the post to get you started making the .exe files quickly.
</p>]]></description>
      <pubDate>Fri, 26 Oct 2007 07:56:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Zend Executable Debugger Eclipse Plugin]]></title>
      <guid>http://www.phpdeveloper.org/news/7040</guid>
      <link>http://www.phpdeveloper.org/news/7040</link>
      <description><![CDATA[<p>
<i>Ben Ramsey</i> has <a href="http://benramsey.com/archives/zend-executable-debugger-eclipse-plugin/">posted his look</a> at a free tool that works with the Eclipse editor - the Zend Executable Debugger plug-in for Eclipse.
</p>
<blockquote>
The <a href="http://www.zend.com/pdt#debugger">Zend Executable Debugger plug-in</a> is part of the <a href="http://www.zend.com/pdt#all_in_one">all-in-one PDT package</a>, but if you want to install it on your own'"since it's possible to use this debugger without the PDT and with <a href="http://www.phpeclipse.de/">PHPEclipse</a>, for example'"then you'll need to install it using the Eclipse Update Manager (the easier way).
</blockquote>
<p>
He mentions how to install the tool (including the information for the Update Manager) and attaches some screenshots of the tool in action - first of the installer and second of the plugin in action. 
</p>
<p>
<b>UPDATE:</b> <i>Ben</i> added a note about XDebug support for the PDT software into the post as well:
</p>
<blockquote>
Patrick Mueller has just <a href="http://www-03.ibm.com/developerworks/blogs/page/pmuellr?entry=xdebug_support_for_pdt_eclipse">posted some links</a> to information about XDebug support for PDT. Now, for those not wishing to use the Zend Debugger, you may now use XDebug.
</blockquote>]]></description>
      <pubDate>Fri, 05 Jan 2007 14:38:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Bambalam PHP EXE Compiler Now Available]]></title>
      <guid>http://www.phpdeveloper.org/news/5584</guid>
      <link>http://www.phpdeveloper.org/news/5584</link>
      <description><![CDATA[On PHPBuilder.com today, there's <a href="http://www.phpbuilder.com/news/item.php?id=1166">a note</a> that was submitted by <i>Anders Hammar</i> about a handy new tool to convert PHP applications into Windows executable files - <a href="http://www.bambalam.se/bamcompile">Bambalam</a>.
</p>
<quote>
<i>
<p>
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it's a good solution if you want to distribute your application while protecting your source code. 
</p>
<p>
The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library, or with PHP-GTK). It's also good for making stand-alone PHP Socket servers/clients (the php_sockets extension is included in the static build).
</p>
</i>
</quote>
<p>
You can find out more about this free tool from <a href="http://www.bambalam.se/bamcompile">their website</a> or just download a copy and start checking it out.
</p>]]></description>
      <pubDate>Wed, 14 Jun 2006 05:54:14 -0500</pubDate>
    </item>
  </channel>
</rss>
