Home>Article>Backend Development> How to preview when writing in php

How to preview when writing in php

尚
Original
2019-10-29 17:21:03 3296browse

How to preview when writing in php

PHP is "hypertext preprocessor" and is a general open source scripting language. PHP is a scripting language executed on the server side.

Recommendation:php server

php needs to be run in the server environment. We can install the PHPstudy integrated environment in our own computer to build the PHP running environment and implement PHP Preview of the file.

Example:

1. Download and install PHPstudy

Download address://m.sbmmt.com/xiazai/gongju/1500

2. After installing PHPstudy, open the Apache server and mysql database

How to preview when writing in php

3. Save the PHP file in the www directory of PHPstudy and browse Enter http://localhost/1.php in the server address bar to preview the PHP file effect.

How to preview when writing in php

The above is the detailed content of How to preview when writing in 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