I need to work with a very tied down environment (cloud foundry) where I don’t have access to many server and environment variables and I need to set them at session level. In particular, I want to run something like the following on the connection file:
$conn->exec("set session sql_mode = ''");
What would be the best approach to achieve this? (the server side language is php).