<?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>WEB SPIDER HUB</title>
	<atom:link href="http://webspiderhub.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webspiderhub.com</link>
	<description>All About Web Programming</description>
	<lastBuildDate>Tue, 23 Mar 2010 13:56:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>PHP command line on ubuntu</title>
		<link>http://webspiderhub.com/php-command-line-on-ubuntu/</link>
		<comments>http://webspiderhub.com/php-command-line-on-ubuntu/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:56:05 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[php5-cli]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://webspiderhub.com/?p=4</guid>
		<description><![CDATA[To run php command line on ubuntu,then you need installphp5-cli,its an command-line interpreter for the php5 scripting language. $sudo apt-get install php5-cli run below command to check where php is located ~$ which php /usr/bin/php for sample code example &#60;? $dt=date(&#8220;Y-m-d&#8221;); echo $dt.&#8221;\n&#8221;; ?&#62; save as datecheck.php ~$ php datecheck.php 2010-03-23 command-line interpreter for the [...]]]></description>
			<content:encoded><![CDATA[<p>To run php command line on ubuntu,then you need installphp5-cli,its an command-line interpreter for the php5 scripting language.</p>
<p>$<strong>sudo apt-get install php5-cli</strong></p>
<p><strong> </strong>run below command to check where php is located<br />
~$ which php<strong><br />
/usr/bin/php</strong></p>
<p><strong>for sample code example </strong></p>
<p><strong>&lt;?<br />
$dt=date(&#8220;Y-m-d&#8221;);<br />
echo $dt.&#8221;\n&#8221;;</p>
<p>?&gt;</strong></p>
<p><strong>save as datecheck.php<br />
</strong></p>
<p>~$ php datecheck.php<br />
2010-03-23</p>
<p><strong><br />
</strong></p>
<p><strong><br />
</strong></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<h2>command-line interpreter for the php5 scripting language</h2>
</div>
]]></content:encoded>
			<wfw:commentRss>http://webspiderhub.com/php-command-line-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
