Re: mssql functions - command line

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

 



Make sure the php.ini file used by the PHP command line interpreter has

extension=php_mssql.dll

The php.ini file used by PHP under Apache probably has this already
specified. You can also just simply copy the php.ini for Apache over the
the one used for command line execution.

-- bob

On Tue, 7 Dec 2004, Cenk Uysal wrote:

> hi,
>
> php: 4.3.3
> apache: 1.3.24
> mssql: sql 2000 server
> os: windows 2000
>
> i try to run a php script from command line. it contains some mssql
> functions. when i call it by browser, everthing works fine. but when
> i call the same script from command line i get the error message:
>
> Fatal Error: Couldn't find the function mssql_connect()
>
> sql client is installed, dll exists in system folder, php.ini mssql
> extension is set. everthing seems to be ok. do u have any idea? thanks...
>
>
>
> __________________________________
> Do you Yahoo!?
> All your favorites on one personal page ? Try My Yahoo!
> http://my.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux