Featured image of post WordPress install theme without ftp user & password

WordPress install theme without ftp user & password


user@user-mac:~/Downloads$ cat /etc/wordpress/config-localhost.php 
<?php
define('DB_NAME', 'WORDPRESS');
define('DB_USER', 'WORDPRESS');
define('DB_PASSWORD', '<user_passoerd>');
define('DB_HOST', 'localhost');
define('DB_COLLATE', 'utf8_general_ci');
define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content');

define('FS_METHOD', '/usr/share/wordpress/wp-content/themes/');
?>

last line

Download from: https://wordpress.org/themes/