Support » Localhost Installs » How to get "Update Now" to work

  • I’m running WordPress 4.3.1 on an xfce flavor of Linux Mint 17.2 with an Apache Web Server hosting multiple domains. The latest MySQL and PHP5 are also installed. It’s a typical LAMP server setup.

    Everything works perfectly except being able to update WordPress to the latest version via itself.

    WordPress wants access to my web server along with an FTP Username and Password. My FTP Username and Password are my Linux username and password but what is my web server “Hostname”?

    I don’t run on a web hosting server so this setup doesn’t even make sense to me. What am I missing?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter BasilRathbone

    (@basilrathbone)

    Obviously I can update WordPress manually via Linux but I’d like to get this working so my wife can keep WordPress updated without involving me.

    The site is located at fliano.duckdns.org

    Dion

    (@diondesigns)

    You probably have Apache set up to run PHP as the apache/nobody user, and your filesystem is most likely owned by the Linux user. Since PHP will not be able to access the filesystem as the apache/nobody user, WordPress is trying to use FTP to gain access to the filesystem. There are two solutions to this.

    If only one Linux user will be using Apache, then the easy solution is to edit the httpd.conf file and change the user/group settings from apache/nobody to your Linux user. I’ll repeat that “if” because it’s critical: do not do this if there is any possibility that more than one Linux user will access Apache! After making the change in httpd.conf, you’ll need to restart Apache to activate the settings.

    The other solution is to rebuild Apache with FastCGI support and run PHP as a CGI application. This is much more difficult than the first option, but it will work for multiple Linux users.

    Thread Starter BasilRathbone

    (@basilrathbone)

    Thread Starter BasilRathbone

    (@basilrathbone)

    Thanks for the tip! I’ll be checking it out. I haven’t created a Linux account for my wife. She’s only a WordPress Admin. I’ll checkout setting up FastCGI support to run PHP as a CGI application under Apache2

    Thread Starter BasilRathbone

    (@basilrathbone)

    I enabled FPM/FastCGI and still have no joy. WordPress still wants to update via FTP.

    Thread Starter BasilRathbone

    (@basilrathbone)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to get "Update Now" to work’ is closed to new replies.