Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMalorie E Souser
7,503 PointsI'm using Xampp on a Mac and having trouble installing WordPress Locally.
MAMP wouldn't install on my mac so I'm using Xampp instead. However, now when I tried to install WP locally I'm able to get half way through the wp config process and then I get an error message that says I need to create the PHP doc, insert code (which wp provides) and upload the doc before I can proceed.
Do I truly need to code the PHP or am I doing something wrong?
Thanks in advance.
5 Answers
Kevin Lozandier
Courses Plus Student 53,747 PointsTo best see if I & Zac Gordon can help out w/ your problems associated with MAMP for you to best follow along his course, is the app itself communicating it cannot install on your Mac, are you using a version of Mac OS X it no longer supports, or you have insufficient privileges to the file system for it to install?
Kevin Lozandier
Courses Plus Student 53,747 PointsAre you still having trouble setting up your local environment to continue on to the more interesting parts of the course?
Malorie E Souser
7,503 PointsHi Kevin.
Thanks for your response. I am still having difficulty installing WP locally. The message that appears says "Sorry, but I canβt write the wp-config.php file. You can create the wp-config.php manually and paste the following text into it." (10 lines of code are provided to cut and paste)
Also, I would happily use MAMP instead, but sadly it won't install on my mac.
Thank you though for the info about the pre-installed LAMP stack. I will check it out.
Any other insights you might have regarding my situation would be greatly appreciated.
Thanks again.
Malorie E Souser
7,503 PointsHi Kevin. So, I installed a few updates and did some house keeping on my computer and then tried to install MAMP again and this time it worked.
Thanks for all of your help!
Kevin Lozandier
Courses Plus Student 53,747 PointsNo problem; have fun continuing on your journey of being a Wordpress Developer or better understanding Wordpress.
Kevin Lozandier
Courses Plus Student 53,747 PointsKevin Lozandier
Courses Plus Student 53,747 PointsHi, Malorie E Souser:
Can you provide an error message? Being a Yosemite users, you shouldn't actually need XAMPP (or MAMP which supported the LAMP stack on Mac much longer ) since the stack is already installed on your computer.
Here's explicit instructions on enabling the pre-installed LAMP stack on your Mac; your local sites will be available to you via
Sites
.For this course, nonetheless, I'd follow Zac Gordon's preference of using MAMP to get started quickly for now on understanding Wordpress local development than manual environment changes.