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

A brief introduction to PHP

一个新手
Release: 2023-03-16 16:46:01
Original
1748 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template