Jump to content

command line php


fooDigi

Recommended Posts

i am trying to run a php script from the command line (ex. >php /path/to/script.php) which needs to connect to a mssql database. i get the error "Fatal error: Call to undefined function: mssql_connect()...."

i can run mysql_connect from command line successfully, and run mssql_connect from the browser without problems. just not mssql from the command line. what do i have to do to get this working? if it is possible.

thx for any help.
Link to comment
https://forums.phpfreaks.com/topic/29850-command-line-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.