<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Run PHP Files From the Command&#160;Line</title> <atom:link href="http://davidwalsh.name/php-command-line/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/php-command-line</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Feb 2012 07:54:33 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>By: Noodle Schneider</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-16262</link> <dc:creator>Noodle Schneider</dc:creator> <pubDate>Fri, 26 Feb 2010 05:14:31 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-16262</guid> <description>Hi there!I just installed cygwin but can&#039;t make php command execute properly. I got the following error when executing php command only.PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) &#039;msql.dll&#039;
in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;D:\PHP\ext\msql.so&#039; -
The specified module could not be found.
in Unknown on line 0I already have PHP, Mysql and Apache installed on my machine and it&#039;s all working properly. I have scripts that need to be executed that is why really need this.Could somebody help me on this? Please...</description> <content:encoded><![CDATA[<p>Hi there!</p><p>I just installed cygwin but can&#8217;t make php command execute properly. I got the following error when executing php command only.</p><p>PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) &#8216;msql.dll&#8217;<br
/> in Unknown on line 0<br
/> PHP Warning:  PHP Startup: Unable to load dynamic library &#8216;D:\PHP\ext\msql.so&#8217; -<br
/> The specified module could not be found.<br
/> in Unknown on line 0</p><p>I already have PHP, Mysql and Apache installed on my machine and it&#8217;s all working properly. I have scripts that need to be executed that is why really need this.</p><p>Could somebody help me on this? Please&#8230;</p> ]]></content:encoded> </item> <item><title>By: Patrick Langendoen</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-16018</link> <dc:creator>Patrick Langendoen</dc:creator> <pubDate>Tue, 09 Feb 2010 22:12:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-16018</guid> <description>@Liao Gangzheng:  I guess what you&#039;ve accomplished there is some sort of cronjob, triggered by a visitor requesting some php script on your webserver?You can schedule your php script using the crontab.
If you like you could do so using your local webserver, but I would prefer a direct link to the filesystem (/path/to/file instead of http://server.fqdn/path/to/file)</description> <content:encoded><![CDATA[<p>@Liao Gangzheng:  I guess what you&#8217;ve accomplished there is some sort of cronjob, triggered by a visitor requesting some php script on your webserver?</p><p>You can schedule your php script using the crontab.<br
/> If you like you could do so using your local webserver, but I would prefer a direct link to the filesystem (/path/to/file instead of <a
href="http://server.fqdn/path/to/file" rel="nofollow">http://server.fqdn/path/to/file</a>)</p> ]]></content:encoded> </item> <item><title>By: Liao Gangzheng</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-15982</link> <dc:creator>Liao Gangzheng</dc:creator> <pubDate>Mon, 08 Feb 2010 04:45:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-15982</guid> <description>I created a website that generates a new chart every time a user surf a web page. I dun want that. I want the codes to run via cli instead</description> <content:encoded><![CDATA[<p>I created a website that generates a new chart every time a user surf a web page. I dun want that. I want the codes to run via cli instead</p> ]]></content:encoded> </item> <item><title>By: Patrick Langendoen</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-15980</link> <dc:creator>Patrick Langendoen</dc:creator> <pubDate>Sun, 07 Feb 2010 21:54:08 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-15980</guid> <description>@Liao:The webserver should allready have parsed this php file, it would make no sense to run it through (a local) php again, because there will be no more php tags and commands left in it for your local php to parse.
What are you trying to accomplish ?</description> <content:encoded><![CDATA[<p>@Liao:</p><p>The webserver should allready have parsed this php file, it would make no sense to run it through (a local) php again, because there will be no more php tags and commands left in it for your local php to parse.<br
/> What are you trying to accomplish ?</p> ]]></content:encoded> </item> <item><title>By: Liao Gangzheng</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-15913</link> <dc:creator>Liao Gangzheng</dc:creator> <pubDate>Thu, 04 Feb 2010 08:34:17 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-15913</guid> <description>Hi all,I was wondering is it possible to run a website using a command line? Something like:php -f http://intranet-website.com/icivf/graph.phpThanks</description> <content:encoded><![CDATA[<p>Hi all,</p><p>I was wondering is it possible to run a website using a command line? Something like:</p><p>php -f <a
href="http://intranet-website.com/icivf/graph.php" rel="nofollow">http://intranet-website.com/icivf/graph.php</a></p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Darkimmortal</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-15248</link> <dc:creator>Darkimmortal</dc:creator> <pubDate>Wed, 13 Jan 2010 19:31:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-15248</guid> <description>@kyle Google it - there will be a registry entry somewhere that you can change with reg.exe (regedit is probably disabled in some way).</description> <content:encoded><![CDATA[<p>@kyle Google it &#8211; there will be a registry entry somewhere that you can change with reg.exe (regedit is probably disabled in some way).</p> ]]></content:encoded> </item> <item><title>By: kyle</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-15247</link> <dc:creator>kyle</dc:creator> <pubDate>Wed, 13 Jan 2010 19:29:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-15247</guid> <description>my stupid school has disabled javascript. i cant even check my email anymore. i have been able to access cmd prompt and internet options is blocked as well as you can imagine. so i want to know the cmd to enable javascript for my internet explorer browser.</description> <content:encoded><![CDATA[<p>my stupid school has disabled javascript. i cant even check my email anymore. i have been able to access cmd prompt and internet options is blocked as well as you can imagine. so i want to know the cmd to enable javascript for my internet explorer browser.</p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-13745</link> <dc:creator>Pete</dc:creator> <pubDate>Wed, 18 Nov 2009 20:59:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-13745</guid> <description>It really depends on what you are trying to do. PHP, Perl, shell scripting, they all have a place, if I want to automate a bunch of system tasks then I use a shell script, if I want to do some db work then probably Perl. Its important to use a tool because it is the right tool, not because you don&#039;t know how to use anything else.
Just my opinion.</description> <content:encoded><![CDATA[<p>It really depends on what you are trying to do. PHP, Perl, shell scripting, they all have a place, if I want to automate a bunch of system tasks then I use a shell script, if I want to do some db work then probably Perl. Its important to use a tool because it is the right tool, not because you don&#8217;t know how to use anything else.<br
/> Just my opinion.</p> ]]></content:encoded> </item> <item><title>By: Martin Gonzalez</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-12749</link> <dc:creator>Martin Gonzalez</dc:creator> <pubDate>Mon, 19 Oct 2009 14:56:51 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-12749</guid> <description>@davidck:  me too :D</description> <content:encoded><![CDATA[<p>@davidck:  me too :D</p> ]]></content:encoded> </item> <item><title>By: thebitnix</title><link>http://davidwalsh.name/php-command-line/comment-page-1#comment-12457</link> <dc:creator>thebitnix</dc:creator> <pubDate>Mon, 05 Oct 2009 14:43:40 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3753#comment-12457</guid> <description>I invoke the Salesforce API with CLI PHP to do various testing and administration tasks. I also use it to generate CSV from mysql. I like Perl, but it&#039;s a matter of preference, not a crutch.</description> <content:encoded><![CDATA[<p>I invoke the Salesforce API with CLI PHP to do various testing and administration tasks. I also use it to generate CSV from mysql. I like Perl, but it&#8217;s a matter of preference, not a crutch.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/17 queries in 0.020 seconds using disk: basic
Object Caching 865/866 objects using disk: basic

Served from: davidwalsh.name @ 2012-02-09 03:42:36 -->
