title: PHP Startup: Unable to load dynamic library 'mysqli' undefined symbol: mysqlnd_global_stats
body: <p>My entire site runs flawlessly via browser. I have just added a cron job, and each time it runs this error gets triggered:</p>
  
  <pre><code>PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20180731/mysqli (/usr/lib/php/20180731/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/mysqli.so (/usr/lib/php/20180731/mysqli.so: undefined symbol: mysqlnd_global_stats))
  </code></pre>
  
  <p>Not sure what is going on. I have logged PHP version both using the browser, and using cron, and it came out the same: 7.3.2-3+0~20190208150725.31+stretch~1.gbp0912bd</p>
  
  <p>What is so different in cron? How can i fix this?</p>