刚下载了个PHP工具箱,但是不知道怎么使用,
,
编写的php应该放在保存在哪里呢?是放在网站根目录下的吗?
上图是我将php文件保存在网站根目录下的测试文件,但是浏览器直接输出代码,这是为什么啊?新手求解答,谢谢各位!!
php executable program cannot be opened directly through the browser
The php file is placed in the root directory of the website. Open the address with a browser and enter "localhost/your php file name", and that's it!
php executable program cannot be opened directly through the browser
The php file is placed in the root directory of the website. Open the address with a browser and enter "localhost/your php file name", and that's it!