dongzhong7299 2014-08-03 11:17
浏览 33

如何使用MAMP实时预览PHP

I am creating a WP theme (for personal use only) and I need to be able to preview PHP files.

Here's where I'm at so far: I use Adobe's Brackets. I have a server on Bluehost. I have downloaded FileZilla and linked it to my bluehost server. I have created a directory on my bluehost server: /public_html/wp-content/themes/Cookie I have downloaded an FTP Sync extension in Brackets, and synced it to the root directory of my theme (/public_html/wp-content/themes/Cookie). I have installed MAMP on my mac (although never used it and have no idea what to do next).

I have contact Adobe Brackets and they have said this: "If you have a MAMP (or other PHP server) set up, you just need to change the File->Project Settings"

But I have no idea what to do now I have downloaded MAMP.

As you can probably tell, I'm a bit of a noob so please explain things delicately :)

Thanks in advance!!!!

  • 写回答

2条回答 默认 最新

  • dongxian6741 2014-08-03 12:48
    关注

    download Wordpress from wordpress.org, install it locally on your MAMP, it shoud have a folder called www or data, reading the docs is recommended. Then, download your theme from your hosting and to the wp-content/themes/ folder, now start a new project, it's gonna be easier.

    When your theme is ready, upload it to the server again.

    Hope this helps.

    评论

报告相同问题?

悬赏问题

  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?