Open for editing: right-click->Open with->Open in text mode
Open and run: First, you must have an environment that supports running PHP. Then browse with a browser.
Recommended: php server
1. Download and install PHPstudy
Download address: https://www.php.cn/xiazai /gongju/1500
2. Open Apache and mysql database
3. Enter in the browser :http://localhost/index.php
The above is the detailed content of How to open index.php. For more information, please follow other related articles on the PHP Chinese website!