MySQL functions not working when PHP script is called from exec()

I have a PHP script I execute in the background from an exec call. Everything works except for the MySQL functions (they don't exist). If I call the script directly from the browser it works fine. What's happening here? Any ideas?Thank you for your time
 
Back
Top