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: //m.sbmmt.com/xiazai/gongju/1500
2. After installing the software, place the PHP file in In the www directory of the installation environment:
3. Start the Apache server and mysql in the PHP running environment and then open the PHP file in the browser.
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!