Home  >  Article  >  Backend Development  >  A brief introduction to PHP

A brief introduction to PHP

一个新手
一个新手Original
2017-10-17 09:09:221729browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn