Joe Brockmeier briefly introduces the PHP scripting language, discusses the origin, performance, and application Platform of PHP. A simple example of a PHP script illustrates its basic syntax and usage.
If you are working on web-based development,
PHP is running. How PHP runs. This article describes how PHP code is interpreted and executed, and the lifecycle of PHP scripts. This topic describes how to start the PHP service. Strictly speaking, how does PHP run?
This article describes how PHP
Transferred from: http://www.cnblogs.com/myjavawork/articles/1869205.htmlNote: You will need to add the PHP installation directory to the environment variable PATH when you install PHP(Right-click My Computer, properties, high-level environment
PHP operating mode has 5 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) ISAPI mode (used in Windows)5) Web module mode (module mode for Web server
PHP features: the command line mode starts with version 4.3.0. PHP provides a new type of cli sapi (Server Application Programming Interface, Server Application Programming Port) support, named CLI, command Line Interface, that is, Command Line
For example, in C + + there is a main function, you can do some startup initialization, read into the configuration table what, just do it once
Now write the service side with PHP, this similar function I need to add where? Thanks, eh!
Reply
PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
This PHP file where error, incredibly unable to run, this is the book Matching code AH. Crazy
The config.php file database user name and password are correct.
Error_reporting (E_all & ~e_notice);$dbhost = ' localhost ';$dbuser = ' root
Where do you run the PHP code?
Brothers and sisters, small beginner php, and firmly walk the PHP WEB, you guide me
Where should I write PHP to run Ah, HTML and terminal run a difference ... HTML does not recognize the escape sequence of C:
Where can I run the PHP code? Dear brothers and sisters, I am a beginner in PHP and firmly walk through the PHP WEB.
Where should I write PHP? there are differences between HTML and terminal operations... HTML does not recognize the escape
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.