Click On Tyler Support


Contact Us

Support Home » VirtualHostX » WordPress

Cannot Update WordPress Plugins and Themes

Last Updated December 9, 2019

If your copy of WordPress complains about needing FTP credentials to update themes and plugins while running inside a Vagrant box on Mac, you can modify Apache to run as the vagrant user.

Within your Vagrant box, edit this file

/etc/apache2/apache2.conf

Search for the user and group directives. You can start scrolling down until you get there, the values should be ${APACHE_RUN_USER} and ${APACHE_RUN_GROUP}, respectively. Replace these two lines with the following:

User vagrant
Group vagrant

Then, restart Apache.