Setup

Apache httpd

Document root - php.

enable

MySQL module in php.ini

Extension=php_mysqli.dll.

Create database

Create database <Wordpress> in mySQL

Create user

Additionally username and password.

Update

https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

Install libssh2-php

Else SSH2 won’t show beside FTP & SFTP.

The public & private keys should be accessible to the web-server user.

WordPress knows where it is.

You may specify values in wp_config.php file.

Define('FS_METHOD', 'ssh2');.

Define('FTP_PUBKEY','/home/wp-user/.ssh/id_rsa.pub');.

Define('FTP_PRIKEY','/home/wp-user/.ssh/id_rsa');.

Define('FTP_USER','wp-user');.

Define('FTP_PASS','');.

Define('FTP_HOST','127.0.0.1:22');.

For plugin

Enable modules

SSL & Curl

Loads additional dlls required.

Updated: 2026 Aug 19