Doc #76088 [Ver->Csd]: ODBC functions are not available by default on Windows
Edit report at https://bugs.php.net/bug.php?id=76088&edit=1
ID: 76088
Updated by: cmb@php.net
Reported by: alvaro at demogracia dot com
Summary: ODBC functions are not available by default on
Windows
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows
PHP Version: 7.2Git-2018-03-13 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=cab354debd953701ec1ecc066c0ef0690f8ed35c
Log: Fix #76088: ODBC functions are not available by default on Windows
Previous Comments:
------------------------------------------------------------------------
[2018-03-13 13:07:18] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=344496
Log: Fix #76088: ODBC functions are not available by default on Windows
------------------------------------------------------------------------
[2018-03-13 11:38:44] alvaro at demogracia dot com
Description:
------------
Configuration templates in Windows builds (php.ini-development and php.ini-production) state:
; Notes for Windows environments :
;
; - ODBC support is built in, so no dll is needed for it.
; - Many DLL files are located in the extensions/ (PHP 4) or ext/ (PHP 5+)
; extension folders as well as the separate PECL DLL download (PHP 5+).
; Be sure to appropriately set the extension_dir directive.
I guess this used to be true but it's no longer the case since PHP/7.x, at least in official
Windows binaries. Now there's a "ext/php_odbc.dll" file that needs to be loaded:
extension=php_odbc.dll
Suggested fix
=============
In php.ini-development and php.ini-production:
- Remove the node
- Add the missing extension line:
;extension=php_odbc.dll
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76088&edit=1
Thread (3 messages)