can i make php calles without needing http web sever (in local client application)
Is ther开发者_如何学JAVAe away to invoke php functions with needing the all web server thing ? i like to invoke php function on my local pc without opening port ? and running server
You can run PHP from the command line, or use something like PHP-GTK for a GUI.
Installing
ubuntu:
sudo apt-get install php5-cli
windows:
http://www.wampserver.com/en/
mac:
http://www.mamp.info/en/index.html
Tutorials
- http://articles.sitepoint.com/article/php-command-line-1
精彩评论