[wp-hackers] Automatically Updating WordPress via SSH
Stas Sușcov
stas at nerd.ro
Mon Apr 30 21:17:04 UTC 2012
Probably totally offtopic, but did you consider another approach?
Like use git[1] (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.
[1]: https://github.com/WordPress/WordPress
Î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,
>
> Jeff
> 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.
>>
>> -Otto
>>
>>
>>
>> On Mon, Apr 30, 2012 at 12:48 PM, Jeffrey Nolte <jnolte at getmoxied.net>
>> wrote:
<tăiat>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list