I can see the phpinfo() information through http://localhost, but if I want to open it directly through the browser, the source code will be displayed.
放牛般的春天
放牛般的春天 2017-11-28 20:49:10
0
3
1726


放牛般的春天
放牛般的春天

reply all(3)
枫铖

The path cannot be written like this in the environment 127.0.0.1 or localhost

猪哥

Accessing the file directly through the browser will be treated as a text document, so the content of PHP will be displayed directly.

When accessed through the domain name, the result will be the content parsed by the PHP environment

浮夸

PHP code must be implemented through the server. HTML can be opened directly like you do. PHP must be opened locally by entering localhost or 127.0.0.1 and the path/file name.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template