doudao1282 2015-11-04 09:33
浏览 53

在本地卸载wordpress后,php文件无法在mamp中运行

I am having problems with php executing in mamp. Html is working fine, but php is showing up as text.

I did have php files working fine so I know it isn’t the code.

I installed wordpress locally, created a database but then decided I wanted to revert back to php files.

I deleted the database I created in php my admin, and deleted the wordpress files in htdocs.

However, now my originally php files do not work in localhost.

When I go to localhost, the page I created in wordpress appears - I have cleared my cache.

I also deleted mamp, and reinstalled it - but have the same problem.

I also downloaded XAMP – and php files do not work either.

I am not very experienced with server issues, I cannot figure out what I have done wrong and it is very frustrating.

I am working on mac.

Would welcome any suggestions!

Thanks

  • 写回答

1条回答 默认 最新

  • dongnuoyi8833 2015-11-04 09:58
    关注

    Your scripts work, but are showing up as text..Are you sure that PHP is added after < ?. just double check that

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?