mssql_connect()

mssql_connect()

am 02.06.2008 13:13:56 von simge

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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: mssql_connect()

am 02.06.2008 14:53:30 von Yves Sucaet

My php.ini is actually in the c:\windows folder. Also: Check to see if yo=
u
have multiple versions of php.ini on your system. Maybe you have a versio=
n in
c:\php or c:\windows in addition to c:/windows/system32 and the wrong fil=
e
gets interpreted.

HTH,

Yves

------ Original Message ------
Received: Mon, 02 Jun 2008 06:31:37 AM CDT
From: "simge"
To: php-db@lists.php.net
Subject: [PHP-DB] mssql_connect()

hi,
I have a problem to connect MsSQL server 2005 with mssql_connect() functi=
on.
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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: mssql_connect()

am 03.06.2008 12:11:40 von simge

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"" , haber iletisinde sunlari
yazdi:340mFBm1E0480S30.1212411210@cmsweb30.cms.usa.net...
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 ------
Received: Mon, 02 Jun 2008 06:31:37 AM CDT
From: "simge"
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 php_mssql.dll)
i put it in c:/windows/system32
but still i cany see mssql library in phpinfo() page.

Please Help Me.




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

Re: mssql_connect()

am 03.06.2008 15:10:02 von Yves Sucaet

phpinfo() should also contain a reference to which php.ini file it reads.
Does it match the location of your php.ini file?

When you say "all versions of php.ini", I would recommend that you only keep
one copy of php.ini on your system.

About your php.ini: What value do you have for the extension_dir value? That
should be the folder referring to where your mssql.dll is located. On my
system it's c:\php\ext.

Do you see any error messages at the bottom of your page that indicates an
extension wasn't loaded (you may have to change the error-reporting
parameters for this)?

Can you enable other extensions on your system (gd2 e.g.)?

HTH,

Yves

----- Original Message -----
From: "Simge RESMOR"
To:
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 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"" , haber iletisinde sunlari
> yazdi:340mFBm1E0480S30.1212411210@cmsweb30.cms.usa.net...
> 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 ------
> Received: Mon, 02 Jun 2008 06:31:37 AM CDT
> From: "simge"
> 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 php_mssql.dll)
> i put it in c:/windows/system32
> but still i cany see mssql library in phpinfo() page.
>
> Please Help Me.
>
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



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