This are default mysql docksal settings.
This are default mysql docksal settings.
So file synching is a pain int he ass on MacOS so I made some tests with "wrk" tool to see what is what and how much request per second can each config handle. I started with install.php on D8 site as it is more about file and less about database and caching. Tool was used with this config (30s of requests)
Some time ago I had some examples how to setup your local mysql for development
https://www.drupaldump.com/installing-percona-instead-mysql-checking-db-engines-tunning
You maybe added some patch to composer.json, but it didn reflect in composer.lock when you ran "composer install" so to force composer lock to update you should run
composer update --lock
If you used google pagespeed and got "Enable Text Compression" you will fix this with uncommenting this lines in your nginx.config (or adding them)
Just go here and check how to do that
https://modulesunraveled.com/blog/install-drush-7-and-8-and-automatical…
also for drupal 7 dont use drush 9 with drush launcher as it is useless and most of the useful functions you had are gone in drush 9.
In many online tutorials you will find just few lines like
server {
server_name www.example.com;
return 301 $scheme://example.com$request_uri;
}
but actually you need much more, you need to include SSL certificates, otherwise you will get message about insecure site so you should have this
Type this to auto format a messed up file when editing with VIM
So, gg
to get the start of the file, =
to indent, G
to the end of the file, gg=G
.
You'll want to edit /etc/hostname
with your new hostname, so just go and change it and then update your /etc/hosts with
127.0.0.1 localhost
1.2.3.4 your-new-hostname
For more info on that check these 2 links
https://haydenjames.io/memcache-php-extensions-for-memcached-caching-da…