2012 Mardi Gras From Above, Gaslamp, San Diego
Posted in: Photography.
Tagged: gaslamp · mardi gras · night photography · san diego · time exposures
Setup WordPress so plugins and themes can be updated from the web Interface via FTPS
I installed WordPress version 3.3.1 on an Amazon Web Services ( AWS ) EC2 instance running Linux CentOS and Apache. Everything worked with the basic install until I tried to update plugins and themes through the WordPress web interface ( or dashboard ). Every time WordPress tried to FTP into my server, I got the error “Failed to connect to FTP Server.”
WordPress ( at least this version ) requires that the webserver own the wordpress install directory and all files within it. To do this, simply execute the following from the command line on your server.
sudo chown -R apache:apache /wordpress_install_folder/
For me, the wordpress_install_folder was at /www/html/blog/. Now I can manage WordPress code and upgrades from within the WordPress web interface. One can always manage files manually via FTP, but this can be a pain. The web interface is very simple when WordPress is configured properly, so I know this will lead to me actually updating my WordPress install when new software is released. Good!
Posted in: Linux, Web Development.
Tagged: linux · ownership · permissions · wordpress
