Skip to content

Instantly share code, notes, and snippets.

View georgecoca's full-sized avatar

George georgecoca

  • Madrid
View GitHub Profile
@georgecoca
georgecoca / microsoft_drivers_sql_server_php_fpm.sh
Created October 7, 2016 11:58
Install Microsoft drivers SQL SERVER for PHP 7 (PHP-FPM)
# Run as root
sudo su
# Change location
cd ~
# Install the unixODBC driver manager and Microsoft ODBC driver for Linux
wget https://raw.githubusercontent.com/Microsoft/msphpsql/PHP-7.0-Linux/ODBC%20install%20scripts/installodbc_ubuntu.sh
# Run installer
@georgecoca
georgecoca / SignatureDoesNotMatch.md
Last active September 13, 2016 12:02
SignatureDoesNotMatch

If you are implementing AWS SES to send e-mails via the API and you get the error SignatureDoesNotMatch, then it's very possible that you are using the SMTP credentials. The SMTP credentials only works when sending via SMTP, so in order to send via the API, you need to creare a new IAM User and manually attach the permissions needed, like this one:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ses:SendRawEmail"