fatal error call to undefined function mssql_connect windows Honeydew California

Address Smith River, CA 95567
Phone (707) 487-0884
Website Link http://www.jas-technologies.com
Hours

fatal error call to undefined function mssql_connect windows Honeydew, California

How? phpinfo(); ?> and visit that page, the HTML output should show several sections, including one with loaded modules. (Edited to add: like shown in the screenshot of the above accepted answer) Error:Fatal error: call to undefined function mssql_connect() in C:\Inetpub\wwwroot\web_intranet\index.php on line 17 I hope somebody can help or tell me what I should do. phpinfo(); ?> save it as info.php or phpinfo.php, then call it from the browser.

Create a page in the same directory as the other php files you are working on. what do you mean php_info()? Sprache: Deutsch Herkunft der Inhalte: Deutschland Eingeschränkter Modus: Aus Verlauf Hilfe Wird geladen... I tried with mssql_connect() and sqlsrv_connect() both.

Is "halfly" a word? Martin :) Windows and Linux work Together IT-Pros Community Member Award 2011 Reply smclintock 13 Posts Re: Fatal error: Call to undefined function mssql_connect() Jan 12, 2011 02:50 PM|smclintock|LINK Hi again, Still doesn't work... Learn more You're viewing YouTube in German.

You can change this preference below. I've ran the phpinfo() function and 'sqlsrv' appears to be there, but when I test 'mssql_connect' using function_exists it comes back as false? Reply HCamper 7929 Posts Re: Fatal error: Call to undefined function mssql_connect() Jan 11, 2011 04:56 PM|HCamper|LINK smclintock Hi there, hopefully someone can help on here. Are there any rules or guidelines about designing a flag?

Reply With Quote 09-29-2010,08:17 PM #12 rhodarose View Profile View Forum Posts Registered User Join Date Aug 2010 Posts 212 Originally Posted by rhodarose I'm sure wiht the location of phpinfo Try uncomment this code that you changed: From: ; On windows: extension_dir = "D:\xampp\php\ext" " To: On windows: extension_dir = "D:\xampp\php\ext" And let us know the outcome. Don't mess with the other MSSQL settings unless you know the extension is properly loaded, the PHP code is valid, but still errors and you know what you're doing. Cyberpunk story: Black samurai, skateboarding courier, Mafia selling pizza and Sumerian goddess as a computer virus Is it OK for graduate students to draft the research proposal for their advisor’s funding

This page was generated at 11:08 AM. Which DB are you actually using ? –Ravi Singh Jun 14 '13 at 8:03 Are you sure connection to MS-SQL server is made correctly ? All times are GMT-3. There is a tool in the IIS Net download center that may be of interest the PHP-Manager.

Anmelden Statistik 54.702 Aufrufe 40 Dieses Video gefällt dir? I used IIS, after i uncommented the mssql extension i restart my computer but still the error is still there. It was because the configuration file path was not to c:\php. If you are running thread-safe PHP, use the php_sqlsrv_53_ts.dll file.

Thats not a SC problem/bug. Thanks Regards Sergio Comment Cancel Post bartho Senior Member Join Date: Apr 2011 Posts: 2300 #9 12-03-2013, 08:43 PM Sergio, Are you calling this function through code, or are you calling and i try the php_info() but the result is the page cannot be found. If you look at your php.ini file, is the line for the mssql extension commented out?

Anmelden 41 11 Dieses Video gefällt dir nicht? By default it's this: extension_dir = "ext", for most of the time it works fine, but if it doesn't try: extension_dir = "C:\PHP\ext". =========================================================================== EDIT given new info: You are using Browse other questions tagged php sql-server iis iis-7 or ask your own question. Hinzufügen Playlists werden geladen...

and it is not an mysql server but an ms sql server :) –Innominatum Jun 14 '13 at 8:07 add a comment| Your Answer draft saved draft discarded Sign up regards, Bernhard Bernsmann Comment Cancel Post John L. I'm sure it's something really dumb that I'm missing... Your phpinfo() output doesn't seem complete.

I change my database from sql yog to SQL Server 2005 Express so in php the connection is different, so now I am new in SQL Server 2005 Express. Reply With Quote 09-21-2010,12:36 AM #6 ZABI View Profile View Forum Posts Registered User Join Date Mar 2009 Posts 452 it looks mssql extention is not configured correctly.... Near Earth vs Newtonian gravitational potential What does かぎのあるヱ mean? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

In the php.ini, Originally, I had this line ; On windows: extension_dir = "ext" I changed it to: ; On windows: extension_dir = "C:\php\ext" And it worked. I have downloaded and installed SQLSRV30.EXE from here in C:\Program Files (x86)\PHP\ext added this to C:\Program Files (x86)\PHP\php.ini: extension=php_sqlsrv_53_nts.dll Then restarted the entire server. To start viewing messages, select the forum that you want to visit from the selection below. You could also look at PDO DB classes as they can connect to any DBS, you need the drivers installed tho.

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed regards, Bernhard Bernsmann Comment Cancel Post RHS Senior Member Join Date: Sep 2010 Posts: 933 #10 12-04-2013, 06:39 AM Hi Sergio, Originally posted by SADALID23 View Post [...] now i only Schließen Ja, ich möchte sie behalten Rückgängig machen Schließen Dieses Video ist nicht verfügbar. Just leaving a note for anyone who may be benefited up down 3 simon ¶2 years ago SQLSRV doesn't use mssql_connect - it is it's own extension, therefore to

Reason: fixed typo Jim, Sr. http://downloads.scriptcase.com.br/d...ql/02-odbc.htm regards, Bernhard Comment Cancel Post SADALID23 Junior Member Join Date: Jul 2011 Posts: 10 #8 12-03-2013, 03:11 PM Hi Bernhard, i have this ODBC created since 1998 in my server,