[wp-hackers] Automatically Updating WordPress via SSH
jnolte at getmoxied.net
Mon Apr 30 23:49:02 UTC 2012
On Apr 30, 2012, at 5:17 PM, Stas Sușcov wrote:
> Probably totally offtopic, but did you consider another approach?
> Like use git (because its faster and simple to set up) and a cron task.
> No offense, but creating another user, enabling sftp and whatever else, seems like an overhead for me.
> : https://github.com/WordPress/WordPress
This would work for WordPress but not plugins. Another issue is at time people need to update WP without the technical know how of GIT.
> În data de Mon, 30 Apr 2012 22:31:52 +0300, Jeffrey Nolte <jnolte at getmoxied.net> a scris:
>> Hi Otto,
>> Thank you for the quick reply. I did restart everything except for php5-fpm which did the trick after a restart. After some more research into this method it seems it may not be very secure. Does anyone have any thoughts or opinions on this?
>> I am planning on implementing a user specifically for WordPress access via FTP to allow for automated upgrading of plugins and core.
>> Thanks again,
>> On Apr 30, 2012, at 3:27 PM, Otto wrote:
>>> Dumb question: Did you restart your webserver after making the change?
>>> Extension has to get loaded and such, and if you didn't restart, then
>>> the FastCGI processes holding your PHP processes won't have reloaded
>>> and the INI won't have been read.
>>> The check in core to make the option appear is this:
>>> if ( extension_loaded('ssh2') && function_exists('stream_get_contents') )
>>> So make sure you have streams enabled too.
>>> On Mon, Apr 30, 2012 at 12:48 PM, Jeffrey Nolte <jnolte at getmoxied.net> wrote:
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers