If Mamp is configured with virtual hosts set in
DB_HOST like the following:
/** MySQL hostname */ define('DB_HOST', 'localhost:3306');
The webserver (Apache) runs as user
www-data and group
www-data by default on Ubuntu so you need to give the permission to the file/folder are not owned by this user.
To make www-data the owner which makes it writeable:
chgrp www-data /var/www/html/wp-content/uploads chmod g+w /var/www/html/wp-content/uploads
If there is already an old favicon.ico file in your current theme’s main folder, delete it using FTP Clients.
With an FTP Client, upload the new favicon.ico file into your current theme’s main folder.
Upload another copy of your favicon.ico file to the main directory of your site (ie. http://example.com/favicon.ico). This will display the favicon in your subscribers’ feedreaders.
In order for your favicon to show up in some older browsers, you will need to edit your page header. Remember, the best way to edit your theme’s files is via a Child Theme. For the purpose of the following instructions you will need to create a copy of your parent theme’s header.php file in your child theme.
Go to your WordPress Administration Panel.
<link rel="shortcut icon" and ends with /favicon.ico" />
Overwrite it, if it exists, or add the following the same code below the <head> HTML tag.