Okay, I am just start apologizing for my own ignorance. In the task scheduler I told the php.exe to use a older configuration file. TOTALLY my fault, seems PHP.ini file I used for the web was not the one I pointed the task manager at.
Resolved and I will crawl back under my rock and read more about the proper Arguments for task manager next time before I post. Thanks Shiplu, and Negin for all your help. Richard L. Buskirk -----Original Message----- From: Shiplu Mokaddim [mailto:muquad...@gmail.com] Sent: Thursday, June 23, 2011 9:42 PM To: <ad...@buskirkgraphics.com> Cc: <firstname.lastname@example.org> Subject: Re: [PHP] Call to undefined function Sent from a handheld device On 24-Jun-2011, at 5:53 AM, <ad...@buskirkgraphics.com> wrote: > I am running a scheduled task for the first time since switching from linux > to Windows IIS > > I am getting an error when the task runs. > > Fatal error: Call to undefined function mysql_connect() > > > I ran php.exe -m to see that the MySQL Module is loaded. > > I have no issues unless I am running a php file in the Scheduled task. > > > > Any help would be appreciated > Richard, Create a sample scheduled task with a sample.php file. In that file call phpinfo() and save that content. After finishing the task find the configuration file (php.ini) location in your saved content. Just make sure mysql is activated there. Good luck > > > > > Richard L. Buskirk > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php