interpreted.
HTH,
Yves
-- Original Message --
Received: Mon, 02 Jun 2008 06:31:37 AM CDT
From: simge [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] mssql_connect()
hi,
I have a problem to connect MsSQL server 2005 with mssql_connect() function.
the error: fatal error
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
hi,
I have a problem to connect MsSQL server 2005 with mssql_connect() function.
the error: fatal error undefined function mssql_connect().
I correct php.ini(unquoting php_mssql.dll)
i put it in c:/windows/system32
but still i cany see mssql library in phpinfo() page.
Please Help Me.
--
PHP
: Mon, 02 Jun 2008 06:31:37 AM CDT
From: simge [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] mssql_connect()
hi,
I have a problem to connect MsSQL server 2005 with mssql_connect() function.
the error: fatal error undefined function mssql_connect().
I correct php.ini(unquoting
Hi,
I have a problem with all my php scripts that use MS SQL Server, but only
when I start them from the command line
I'm using Apache 2.2.4 with PHP 5.2.5 on a server Win2k3 with SP2, and MS
SQL Server 2000 on another Win2k3 server.
If I run the same script using a webbrower as an internet page
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
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
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:
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
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
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
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
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
I had cronjobs running fine on Linux which included a file which called
mssql_connect.
Today when I run the cronjob script directly from the command line, I get:
PHP Fatal error: Call to undefined function mssql_connect() in
/the/included/file.php on line #
Fatal error: Call to undefined
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
Hi all.
I have worked with a MySQL database a whole lot, but never really an MS
SQL database before. Here's the problem I'm having. I call this
function and then nothing else happens. No other information shows up
on the page.
$link = mssql_connect(myServer, me, pw);
Of course, I replace the
Hi again all!
Right after I sent the email... I think I figured out what it was! I do
not have it `uncommented` in my php.ini file! Therefore, none of the
mssql_* functions would work.
Sorry for that last email.
~Philip
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello all!
I am desperately trying to connect to a Win2000 SQL-Server, but I
always get the error message:
Warning: MS SQL message: Login failed for user 'gn'. (severity 14) in
c:\inetpub\wwwroot\test.php on line 11
Warning: MS SQL: Unable to connect to server: SERVER1 in
:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 12:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] MSSQL_connect() won't work
Hello all!
I am desperately trying to connect to a Win2000 SQL-Server, but I
always get the error message:
Warning: MS SQL message: Login failed for user 'gn
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
I removed some 'security' settings that Microsoft had recommended which had
prevented Named Pipe connections to our Microsoft SQL server. Basically
requiring everyone to use TCPIP connections. Which is very simple when
using a sYstem DSN or ADODB or any number of ASP connection types. But the
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
I wrote a script (? phpinfo(); ?) and executed it from the commandline
(php script.php test.txt)
turns out text.txt doesnt have sybase support listed at all - which the
apache version of phpinfo has.
could this be the problem? and if so, how do i enable sybase support for the
commandline php?
or
Erik,
Having only set up PHP once on Windoze and once with Apache on Linux, I
would have to reference the installation docs on php.net. On Windoze,
you edit the php.ini file-- maybe that's also true for the stand-alone
on Linux? You need the stand-alone version if you want to bypass the
Hi,
I am running PHP with apache as server at Windows 98 platform. When I open a
page I write that will connect to Microsoft SQL Server 7.0 in my intranet, I
get the error :
mssql_connect( ) function not found.
Could someone tell me how to solve this problem?
Thanks.
lwneo.
--
PHP
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
You need to uncomment the mssql.dll (or something called like this) in your
php.ini (In the section Windows DLL's).
Greetings,
Stefan
-Ursprüngliche Nachricht-
Von: lwneo [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Juni 2001 06:21
An: [EMAIL PROTECTED]
Betreff: [PHP-DB
27 matches
Mail list logo