what do you mean php_info()? How can something so easy result in so many comments! Back to top #4 Chris1394 Chris1394 Newbie New Members 7 posts Posted 14 May 2008 - 02:06 PM Thank you for the advice, I will be working on this again tonight, Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count). click site
Looking in my C:\windows folder, there is no php.ini there. Reply With Quote 09-22-2010,03:44 AM #10 qjensen View Profile View Forum Posts Visit Homepage Registered User Join Date Sep 2010 Posts 62 So we really need to see the output of PHP School 953 views 1:18 How to connect SQL Server with PHP in WampServer - Duration: 10:01. Category Howto & Style License Standard YouTube License Show more Show less Loading...
I'm lost, I've looked though the boards and used search but nobody ever seems to come back and say what fixed this issue. Before i configure my php.ini the php info was appear when i run it, and sad to say i forgot to check if theirs a mssql extension under extension. I mean to say things like "simply copy ntwdblib.dll from c:\php to c:\windows" might be necessary, but its rare these days.
Posted 16 May 2008 - 03:28 PM Here is a nearly identical thread - http://www.phpfreaks...c,197174.0.htmlCheck wildteen88's instructions in that thread to use a phpinfo(); statement to see what if any php.ini Bruno Mendes 27,185 views 3:31 Fatal error: Call to undefined function mysql_connect() in in xampp php school - Duration: 1:18. Very annoying! Mssql_connect Php 7 I recently setup a server with Windows Server 2008 installed and have managed to get ASP.NET website using SQL Server 2008 Express working without any problems.
Create a page in the same directory as the other php files you are working on. Php Fatal Error: Call To Undefined Function Mssql_connect() Linux I can't seem to get it to to work.I have googled the problem and based on that I did the following:(My XAMPP is installed in f:\xampp)I edited f:\xampp\php\php.ini and uncommented:extension=php_mssql.dllI copied I might have to resort to using the MySQL form of the database instead, but I really want to get it working in SQL Server :-/ Don't suppose you have any his explanation db.php on line 1022 regards thanks Tags: None bartho Senior Member Join Date: Apr 2011 Posts: 2300 #2 11-28-2013, 12:27 AM Hello, What kind of SQL Server connection are you using?
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. Fatal Error Call To Undefined Function Sqlsrv_connect() Xampp I've got the following in the php.ini file and all are enabled (and all appear to be in the right directory) [PHP_SQLSRV_52_NTS_VC6] extension=php_sqlsrv_52_nts_vc6.dll [PHP_SQLSRV_52_TS_VC6] extension=php_sqlsrv_52_ts_vc6.dll [PHP_PDO_SQLSRV_52_NTS_VC6] extension=php_pdo_sqlsrv_52_nts_vc6.dll [PHP_PDO_SQLSRV_52_TS_VC6] extension=php_pdo_sqlsrv_52_ts_vc6.dll [PHP_PDO_SQLSRV_53_NTS_VC6] extension=php_pdo_sqlsrv_53_nts_vc6.dll and i try the php_info() but the result is the page cannot be found. First, make sure that the extension is correctly enabled.
MSSQL is only mentioned under COnfigure Command:cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo" I checked and the loaded configuration file is Loading... Call To Undefined Function Mssql_connect() Linux Not the answer you're looking for? Call To Undefined Function Mssql_connect() Ubuntu Story about crystal flowers that stop time?
PHP-Manager actually installed along with FastCGI so I've been using that to check that the extensions were properly installed and enabled. get redirected here 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 It does have the nts and ts for the current 5.2 and 5.3 installs of PHP. mssql_error()); $dbHost = 'localhost'; $dbUser = '######'; $dbPass = '######'; $dbName = '######';//define your parameters accordingly?>