PHP is a hypertext preprocessor
Principle of operation
Running on the server side, a scripting language embedded in HTML
What are the integrated environments
wampserver smapp phpstudy appserver, ,
PHP engine (7.0) mysql (database database) apache (service)
Access:
localhost local server name/php file name
127.0.0.1 local IP address/php file name
Note;
All PHP codes are written under the www directory
Development tools:
vim subline notepad++ phpstrom webstrom dw NetBeans
php information:
phpinfo(); Display all php Information
It is modular, which one is needed and which module is enabled
The php file must end with .php
You can use the short tag style
through php.ini Modify this item in this configuration file
short_open_tag = On
Remember that after modifying the configuration file, you must restart the service
The above is the detailed content of A brief introduction to PHP. For more information, please follow other related articles on the PHP Chinese website!