<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: 12 Useful PHP Commandline Usage Every Linux User Must Know	</title>
	<atom:link href="https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 06 Aug 2015 06:18:49 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Avishek Kumar		</title>
		<link>https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-638658</link>

		<dc:creator><![CDATA[Avishek Kumar]]></dc:creator>
		<pubDate>Thu, 06 Aug 2015 06:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=14602#comment-638658</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-625079&quot;&gt;Yoander&lt;/a&gt;.

Thanks for the feedback @Yoander,
We have already mentioned it in the first part of this post. You may find it here: http://www.tecmint.com/run-php-codes-from-linux-commandline/]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-625079">Yoander</a>.</p>
<p>Thanks for the feedback @Yoander,<br />
We have already mentioned it in the first part of this post. You may find it here: <a target="_blank" href="http://www.tecmint.com/run-php-codes-from-linux-commandline/" rel="ugc">http://www.tecmint.com/run-php-codes-from-linux-commandline/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Avishek Kumar		</title>
		<link>https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-638654</link>

		<dc:creator><![CDATA[Avishek Kumar]]></dc:creator>
		<pubDate>Thu, 06 Aug 2015 06:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=14602#comment-638654</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-638547&quot;&gt;MaQ&lt;/a&gt;.

Dear MaQ,
As I am able to understand, you have an application that you want to start at boot automatically. You may run as root
# update-rc.d Application_name defaults   [Replace Application_name with the name of Application]

To start something after reboot, open file /etc/crontab as root and enter the below line. Save and exit.

@reboot /path/to/script

Don&#039;t forget to replace /path/to/script with original path.

If you are unable to fix the issue yourself, you may forward me your SSH credentials with complete detail on OS and Application on my email id - avishek1210[at]gmail.com, for better assistance.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-638547">MaQ</a>.</p>
<p>Dear MaQ,<br />
As I am able to understand, you have an application that you want to start at boot automatically. You may run as root<br />
# update-rc.d Application_name defaults   [Replace Application_name with the name of Application]</p>
<p>To start something after reboot, open file /etc/crontab as root and enter the below line. Save and exit.</p>
<p>@reboot /path/to/script</p>
<p>Don&#8217;t forget to replace /path/to/script with original path.</p>
<p>If you are unable to fix the issue yourself, you may forward me your SSH credentials with complete detail on OS and Application on my email id &#8211; avishek1210[at]gmail.com, for better assistance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: MaQ		</title>
		<link>https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-638547</link>

		<dc:creator><![CDATA[MaQ]]></dc:creator>
		<pubDate>Thu, 06 Aug 2015 03:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=14602#comment-638547</guid>

					<description><![CDATA[Hello,

I have an application that runs on localhost fine starting from terminal ex: &#039;root@debian:/usr/local/lib/file# php -S localhost:8000&#039;. I&#039;m trying to get it to execute on boot and have no idea how to format for startup, it won&#039;t execute in pm2, nor know how to add properly formated to rc.local, etc. I&#039;ve looked for hours on end around net to no avail. Writing scripts is quite beyond my skill-set at this point. Most advice seems to center around either a complicated script or adding a simple command to cron, init.d or rc.local. I&#039;m a cut and paste guy and usually need highly relevant concrete examples per instance. Any ideas?]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I have an application that runs on localhost fine starting from terminal ex: &#8216;root@debian:/usr/local/lib/file# php -S localhost:8000&#8217;. I&#8217;m trying to get it to execute on boot and have no idea how to format for startup, it won&#8217;t execute in pm2, nor know how to add properly formated to rc.local, etc. I&#8217;ve looked for hours on end around net to no avail. Writing scripts is quite beyond my skill-set at this point. Most advice seems to center around either a complicated script or adding a simple command to cron, init.d or rc.local. I&#8217;m a cut and paste guy and usually need highly relevant concrete examples per instance. Any ideas?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yoander		</title>
		<link>https://www.tecmint.com/execute-php-codes-functions-in-linux-commandline/comment-page-1/#comment-625079</link>

		<dc:creator><![CDATA[Yoander]]></dc:creator>
		<pubDate>Thu, 16 Jul 2015 03:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=14602#comment-625079</guid>

					<description><![CDATA[Sometimes i used php -r  to execute some simple php code for example simple php calculator php -r &#039;echo 2**8+10;&#039;]]></description>
			<content:encoded><![CDATA[<p>Sometimes i used php -r  to execute some simple php code for example simple php calculator php -r &#8216;echo 2**8+10;&#8217;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
