Re: Call to undefined function
| From: | Shiplu Mokaddim | Date: | Fri, 24 Jun 2011 01:42:23 +0000 |
| Subject: | Re: Call to undefined function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313686@lists.php.net to get a copy of this message | ||
Sent from a handheld device
On 24-Jun-2011, at 5:53 AM, <admin@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
>