I wrote a quick script for those that provision servers often enough.
To get this to work take the following steps
- Log into your server as
root
- Get script
wget https://gist.githubusercontent.com/nfourtythree/90fb8ef5eeafdf478f522720314c60bd/raw/disable-strict-mode.sh
- Make is executable
chmod +x disable-strict-mode.sh
- Run the script
./disable-strict-mode.sh
- ??
- MySQL without strict mode (profit)
Hope at least one person finds this useful.
Dude I tried this guide in my puTTY via php 5.6 and it worked like charm, you are genius seriously. God bless u 👍