Update LD_LIBRARY_PATH system wide for ODBC connection via PHP7.0-FPM

I am trying to connect to NetSuite over ODBC from an Ubuntu Linux machine. I've got everything setup. It works via the shell, and PHP command line. But when I try and make this connection via a web request to PHP, it fails with this error:

So the solution ended up being simpler than expected. I essentially created a bash script that exports the environment variables I need then run the PHP script. Here's the entire contents of my netsuite-odbc.sh script. I can now connect and run my queries.