Re: mssql functions - command line
| From: | Robert Twitty | Date: | Tue, 07 Dec 2004 15:51:53 +0000 |
| Subject: | Re: mssql functions - command line | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25134@lists.php.net to get a copy of this message | ||
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
>
>