Re: Call to undefined function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Sent from a handheld device

On 24-Jun-2011, at 5:53 AM, <admin@xxxxxxxxxxxxxxxxxxx> 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
> 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux