Re: [PHP-DB] mssql_connect()

2008-06-03 Thread Simge RESMOR
i restart ISS and i checked all the version of php.ini ,i unquoted in all php.ini file php_mssql.dll extension. i put this dll into system32 folder . but still i cant see mssql library in phpinfo() page. i dont understand why? is there anything besides above things i should do? YVES SUCAET

Re: [PHP-DB] mssql_connect()

2008-06-03 Thread Yves Sucaet
enable other extensions on your system (gd2 e.g.)? HTH, Yves - Original Message - From: Simge RESMOR [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Tuesday, June 03, 2008 5:11 AM Subject: Re: [PHP-DB] mssql_connect() i restart ISS and i checked all the version of php.ini ,i unquoted

Re: [PHP-DB] mssql_connect()

2008-06-02 Thread YVES SUCAET
My php.ini is actually in the c:\windows folder. Also: Check to see if you have multiple versions of php.ini on your system. Maybe you have a version in c:\php or c:\windows in addition to c:/windows/system32 and the wrong file gets interpreted. HTH, Yves -- Original Message --

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Krister Karlström
Hi! That description did not help us very much... I think you're just connecting using the wrong credentials, or using no at all. From where do you grab the hostname, username and password? Maybe it's stored in your session or something, and that session is not working in your command line

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Molteni Davide
Hi, thanks for your quick answer, but in the script I don't use sessions variables to store host, user and password, I wrote something like that: $sc=mssql_connect(hostname,1433,userid,password); Can you please tell me where I can find information about how to design scripts for either the

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Krister Karlström
Hi! Please have a look at the manual pages (if you have not allready done that). There might be some information for you in the user comments: http://www.php.net/manual/en/function.mssql-connect.php Manual page about command line scripting:

Re: [PHP-DB] mssql_connect error only on command line

2008-04-02 Thread Molteni Davide
Hi, I red the http://www.php.net/manual/en/function.mssql-connect.php in a more accurate manner, and I found an user contribution note suggesting to substitute the ntwdblib.dll with a newer one. The version of the old (original from the PHP v5.2.5 installation) is 2000.2.8.0 and the newer version

RE: [PHP-DB] mssql_connect not working from command line [RESOLVED]

2007-10-19 Thread Instruct ICC
Thanks for informing me that CGI and CLI may use a different php.ini and that they may be compiled differently. The admin finally admitted that he ran a yum update which overwrote the manually compiled CLI version. The reason I missed it was that the build date of the latest CLI version was

Re: [PHP-DB] mssql_connect not working from command line

2007-09-13 Thread Instruct ICC
From: Chris [EMAIL PROTECTED] Instruct ICC wrote: You said something about 2 different configuration files. I'm just making up this name, but do you have something like: CLI_Configuration File (php.ini) Path = /etc/cli_php.ini as well as: Configuration File (php.ini) Path = /etc/php.ini I

Re: [PHP-DB] mssql_connect not working from command line

2007-09-12 Thread Instruct ICC
From: Chris [EMAIL PROTECTED] Instruct ICC wrote: Both your command php -i | grep 'php.ini' and find / -name php.ini 2/dev/null report the single /etc/php.ini Hmm. do a php -i and look for: Configuration File (php.ini) Path = That will tell you where it's looking for the file. Maybe you

Re: [PHP-DB] mssql_connect not working from command line

2007-09-11 Thread Instruct ICC
However, a web page that includes the same file with the mssql_connect call still works fine, and now it makes sense that I see mssql is still enabled in phpinfo. The apache version of the php.ini file is different to the cli version. Make sure you are looking at the right one. On debian I

Re: [PHP-DB] mssql_connect not working from command line

2007-09-10 Thread Chris
However, a web page that includes the same file with the mssql_connect call still works fine, and now it makes sense that I see mssql is still enabled in phpinfo. The apache version of the php.ini file is different to the cli version. Make sure you are looking at the right one. On debian

RE: [PHP-DB] MSSQL_connect() won't work

2002-07-09 Thread joakim . andersson
Does the user 'gn' exist? Are you using the correct password? Does that user have permissions on the database? Hint: Login failed for user 'gn' suggests that there is something wrong with that account... Regards Joakim Andersson -Original Message- From: Gabor Niederlaender

RE: [PHP-DB] MSSQL_connect() won't work

2002-07-09 Thread Gabor Niederlaender
Hi! Does the user 'gn' exist? Are you using the correct password? Does that user have permissions on the database? Hint: Login failed for user 'gn' suggests that there is something wrong with that account... That would be fine, but it is not the case. It just won't work! I have read

Re: [PHP-DB] mssql_connect() commandline problem

2001-08-14 Thread Richard Chauvaux
Sounds like you might be working with 2 different versions of php: Mod-php for Apache in the web environment, stand-alone php operating in the shell. You might want to start by ensuring that the stand alone version is compiled -with mssql. Try running phpinfo() in the shell? Richard Erik

RE: [PHP-DB] mssql_connect() function not found when I load the page...

2001-06-20 Thread Craig Vincent
snip mssql_connect( ) function not found. Could someone tell me how to solve this problem? /snip You need to recompile PHP to include MSSQL support Sincerely, Craig Vincent -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional