In your command-line run the following commands:
brew doctorbrew update
| /* update all post permalinks */ | |
| update wp_posts | |
| set guid = REPLACE(guid, 'http://www.oldsite.com', 'http://www.newsite.com') | |
| where guid LIKE '%http://www.oldsite.com%'; | |
| /* update all post content */ | |
| update wp_posts | |
| SET post_content = REPLACE(post_content, 'http://www.oldsite.com', 'http://www.newsite.com') | |
| where post_content LIKE '%http://www.oldsite.com%'; | |
In your command-line run the following commands:
brew doctorbrew updateI hereby claim:
To claim this, I am signing this object:
On Mac OS X (Leopard), the Apache HTTP Server runs under the user account, _www which belongs to the group _www. To allow WordPress to configure wp-config.php during installation, update files during upgrades, and update the .htaccess file for pretty permalinks, give the server write permission on the files.
One way to do this is to change the owner of the wordpress directory and its contents to _www. Keep the group as staff, a group to which your user account belongs and give write permissions to the group.
$ cd //Sites/
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |