Archive:PHP and MySQL Programming/Command Line Programming: Difference between revisions

wikademia>The Kid
wikademia>The Kid
No edit summary
Line 1: Line 1:
[[Programming:PHP and MySQL|TOC]]
== Introduction ==
== Introduction ==


Line 8: Line 5:
==Getting the PHP-CLI==
==Getting the PHP-CLI==


If you are running Linux, you should get the corresponding package for the PHP-CLI. In Debian, it is just a matter of typing :
If you are running Linux, you should get the corresponding package for the [http://www.php-cli.com PHP-CLI]. In Debian, it is just a matter of typing:


  $> apt-get install php5-cli
  $> apt-get install php5-cli


In Windows, the CLI should be included with the PHP files.
In Windows, the CLI should be included with the PHP files. Refer to http://www.php-cli.com/ and http://www.php.net for more help.


==Initial Considerations==
==Initial Considerations==
Line 65: Line 62:
  ?>
  ?>


 
== External Resources and Links ==
[[Programming:PHP and MySQL|<< 5. Session Handling]] | [[Programming:PHP and MySQL|TOC]] | [[Programming:PHP and MySQL|>> 7. Form Handling]]
[http://www.php-cli.com PHP CLI] - ALL about running PHP script from command line: tutorials, options, examples, PHP CLI and PHP CGI difference.


[[Category:PHP]]
[[Category:PHP]]
[[Category:MySQL]]
[[Category:MySQL]]