Magento install on Azure WebApp + Azure Database for MariaDB/MySQL server

If you try to install Magento in a normal way on Microsoft Azure WebApp using MariaDB or MySQL probably receive an error:   [ERROR] MagentoEavModelEntityAttributeException: Warning: SessionHandler::read(): Session data file is not created by your uid in /home/site/wwwroot/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 in /home/site/wwwroot/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121Stack trace:#0 /home/site/wwwroot/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): MagentoFrameworkObjectManagerFactoryAbstractFactory-   The solution is quite simple just select that you store sessions on DB instead files. After installation you can move it to Redis or to files adding: session.save_handler = files session.save_path = “var/www/magento2/var/session”   to the .user.ini file.   The next error you see it is connected with DB permission: General error: 1419 You do not have the SUPER privilege and The solution is quite simple just modify log_bin_trust_function_creators to ON in DB parameters in Azure Portal.  

GCP App Engine via Cloud Flare – Step by Step

Usually, it is wise to protect your application against DDOS, XSS and SQL injections and so on. Unfortunately, at this moment it is impossible to use Google Cloud Armor with Google App Engine. The one solution can use Azure Application Gateway with WAF or Cloud Flare. How to configure Cloud Flare with App Engine – Step by Step: As usual, you must delegate DNS zone to Cloud Flare – it is easy to process after you register in Clod Flare. On Google Cloud Console – go to App Engine panel, Setting and Custom domains and you must add Custom Doman. You need to Verify a new domain, by adding the TXT record to your DNS settings. You do it in Cloud Flare. Please remember if you are adding it to the subdomain e.g. cc.wiadk.pl, you need to add TXT record to subdomain cc.wiadki.pl.If you have a problem with it you can switch to add CNAME record. That’s works better for me. After Verifying domain Google will create an SSL certificate for your domain for it, but it not works with Cloud Flare at this moment, so you need to disable SSL security like here: Now you can add A records … GCP App Engine via Cloud Flare – Step by StepRead more