简体   繁体   English

单击括号中的实时预览后,浏览器中将显示PHP代码

[英]PHP code displaying in browser after clicking live preview in Brackets

I have xammp up an running with Apache and mysql on. 我在xammp上运行了Apache和mysql。 I have attached an image of my settings. 我已经附上了我的设置图片。 settings I notice my PHP Debugger says Server Listening on port 9000. Maybe that's the problem? 设置我注意到我的PHP调试器说端口9000上的服务器监听。也许是问题所在?

you are supposed to copy php files in htdocs folder inside xampp installation folder 您应该将xampp安装文件夹内htdocs文件夹中的php文件复制

then open localhost/filename path in browser to open it 然后在浏览器中打开localhost / filename路径以将其打开

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM