<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thijs Lensselink&#039;s Blog &#187; CLI</title>
	<atom:link href="http://lenss.nl/tag/cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://lenss.nl</link>
	<description>Webdevelopment and stuff...</description>
	<lastBuildDate>Sun, 05 Feb 2012 11:39:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP CLI bad interpreter: Permission denied</title>
		<link>http://lenss.nl/2009/03/php-cli-bad-interpreter-permission-denied/</link>
		<comments>http://lenss.nl/2009/03/php-cli-bad-interpreter-permission-denied/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 14:59:02 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[noexec]]></category>

		<guid isPermaLink="false">http://lenss.nl/?p=374</guid>
		<description><![CDATA[This question came up on the php.general list today. And i have seen it before when writing an shell script in PHP. #!/usr/local/bin/php passthru("printenv"); If you are sure the PHP executable can be found in that location. And the file is executable. But it still returns this error: /usr/local/bin/php: bad interpreter: Permission denied Big change [...]]]></description>
			<content:encoded><![CDATA[<p>This question came up on the php.general list today. And i have seen it before when writing an shell script in PHP.</p>
<pre name="code" class="php">
#!/usr/local/bin/php
passthru("printenv");
</pre>
<p>If you are sure the PHP executable can be found in that location. And the file is executable. But it still returns this error:</p>
<blockquote><p>/usr/local/bin/php: bad interpreter: Permission denied</p></blockquote>
<p>Big change the file you are trying to execute is on a filesystem with the noexec flag set.<br />
To fix this either set the exec flag for the filesystem or move the script to a place where it can be executed.</p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2009/03/php-cli-bad-interpreter-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
