DEV Community

Davina Leong
Davina Leong

Posted on • Edited on

1 1

Resolutions to setup issues with Craft on AMPPS

This is a followup to my post on Introduction to Craft.

Note that this isn't a conclusive list. It is simple me listing down the issues I faced and how I resolved them.

A: Getting Craft working on AMPPS on Mac

  • Create a /developer folder in your home directory.
  • Create a folder in the /developer for your Craft project; e.g. (/my-craft-project)
  • Install Craft in that folder either manually, or via Composer.
  • Open up your terminal and cd to the /web folder of your Craft project and type:
pwd | pbcopy
Enter fullscreen mode Exit fullscreen mode

This command copies the path of the current directory into your clipboard. Note: Don't be alarmed if you don't get any success messages.

  • Navigate to your AMPPS' Alias Manager and click on Add New AMPPS alias manager
  • Paste the path you copied in Step (4) into the Path field. The form should look something like this when filled up: AMPPS add new alias Click on Create Alias
  • To test, make sure that AMPPS is running, then navigate to http://localhost/my-craft-project. You should either see the Craft welcome page, or your Craft's homepage if you've set it.

B: Plugin Store fails to Load

  • Download [cacert.pem](https://curl.haxx.se/ca/cacert.pem) and move it to the /developer folder in (A). -. In the AMPPS console, click on the PHP's gear icon. Then click on the spanner icon beside it to launch the php.ini.
  • Search for curl.info. You'll see something that looks like this: :curl.info = Replace that line with this:
curl.cainfo = "/Users/<username>/developer/cacert.pem"
Enter fullscreen mode Exit fullscreen mode

Remember to change <username> to the name of your Home directory.

  • Restart your Apache server and reload your webpage

Image of Docusign

Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay