Home  >  Article  >  Backend Development  >  Can php files be opened directly using a web page?

Can php files be opened directly using a web page?

尚
Original
2019-10-28 10:56:296459browse

Can php files be opened directly using a web page?

php files cannot be opened directly using web pages. If you want to run php files, you must use the php running platform.

Recommendation:php5 download

Method to run PHP files:

1. Download PHP development integrated environment

Download address: https://www.php.cn/xiazai/gongju/1500

Can php files be opened directly using a web page?

2. After installing the software, place the PHP file in In the www directory of the installation environment:

Can php files be opened directly using a web page?3. Start the Apache server and mysql in the PHP running environment and then open the PHP file in the browser.

Can php files be opened directly using a web page?

The above is the detailed content of Can php files be opened directly using a web page?. 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