is there any other php.ini for command line execution???
--- Robert Twitty <[EMAIL PROTECTED]> wrote:
> 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
ok, i found the answer.
although i could not find the reason, u have to load php_mssql.dll
dynamically from the code with following line(it is not enough to set
from php.ini):
dl("php_mssql.dll");
but do not forget to put the DLL in directory C:\php4 .This is the
default directory for dl() fun
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
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 f