Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress How to Install WordPress on Your Computer How to Install WordPress on Your Computer How to Enable Email for WordPress on Your Computer

Jason Force
Jason Force
7,508 Points

Can't install Easy WP SMTP locally.

I have WP installed on my local machine and I click "install" on the plugins page for Easy WP SMTP. Immediately, a modal pops up wanting me to fill out the hostname, ftp username, and ftp password. installation will not proceed without these options filled out. Isn't this course geared toward local WP development???? This isn't really working out. So far, I've been pretty disappointed with the WP courses on Treehouse. I run Ubuntu on my machine and so far there's been no mention of running anything on a Linux machine...even though nearly any web host is going to be hosting your WP site on a Linux server. Here's another example of me having to go to Google to find a tutorial. I'm beginning to wonder why I'm paying for Treehouse when I'm finding all my tutorials via Google. In case anyone needs some help with local WP installation under Ubuntu 16.04, here are some links for you.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu https://www.atlantic.net/community/howto/install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04/ http://www.tutorialspoint.com/articles/how-to-change-apache-default-web-root-folder-to-a-new-location-on-ubuntu-16-04 https://codex.wordpress.org/Installing_WordPress

Unfortunately, I've no idea about which plugin to use to get email working in my local WP setup......that's why I'm paying Treehouse, but, well....ya' know.

One last thing, I believe I saw in one of these videos, Zac was installing WordPress v3.8(ish). Wordpress is now up to v4.6. Including all of the patch releases, there are close to 40 releases between the version being installed in these videos and what the current release is. I think it's time to update your lesson.

1 Answer

Jason Force
Jason Force
7,508 Points

Finally figured it out.....I suppose. I had to add the following line to wp-config.php.

define('FS_METHOD', 'direct');

And I had to set permissions on wp-content/plugins directory to 777. Doesn't seem like the best solution, but it worked.