I use an apache server on linux machine and try to run a simple php script including mssql_connect() to retrive data in windows machine. However, the problem is it works fine running browsers but not command line. When I run it on the command line, it complains like this following:
PHP Fatal error: Call to undefined function: mssql_connect() in /var/www/html/cron_job/Joon_db_connect_test.php on line 10
<b>Fatal error</b>: Call to undefined function: mssql_connect() in <b>/var/www/html/cron_job/Joon_db_connect_test.php</b> on line <b>10</b><br />
I am eager to hear back from you to solve this problem.