It is open-source software, so its code can be modified or revised by the audience. Sqlsrv_close($conn) // Close connection resources.XAMPP is a cross-platform web server used to develop and test programs and web applications, created by the Apache friends organization. $conn = sqlsrv_connect($serverName, $connectionString) // Connect using Windows Authentication.Įcho "Connection could not be established." Įcho "Connection established successfuly." Get_db_data.php code: "TestDB") // Connection string. I can't get ahead with my tasks because of this. I've used every resource in my hand, but nothing is working. So what am I missing now that neither php_wincache.dll and sqlsrv seem to load during PHP startup, nor can I connect the SQL Server from the PHP file? As I'm new in jQuery AJAX and PHP, I'm not much aware of the intricacies of them and hence, stuck with the issue for the past four days. However, PHP seems to be running fine, because when I used jQuerey AJAX get() and post() method from an HTML file to fetch data from another PHP file, I was successfull in doing so. Loaded Configuration File: C:\Program Files\PHP-8.1.1\php.ini Warning: PHP Startup: sqlsrv: Unable to initialize module PHP Warning: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: ext\php_wincache.dll (The specified module could not be found), ext\php_php_ (The specified module could not be found)) in Unknown on line 0 That's when the following messages are being thrown: Assuming the php_sqlsrv_80_nts_圆4.dll not being loaded while PHP is starting, I ran php -ini in the command prompt.
0 Comments
Leave a Reply. |