Skip to content

Commit b3d09b7

Browse files
committed
Updates Windows installation instructions to fix #4476
1 parent 7f171ac commit b3d09b7

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

reference/pdo/configure.xml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
When installing PDO as a shared module, the php.ini file needs to be
2727
updated so that the PDO extension will be loaded automatically when PHP runs.
2828
You will also need to enable any database specific drivers there too;
29-
make sure that they are listed after the pdo.so line, as PDO must be
29+
make sure that they are listed after the extension=pdo line, as PDO must be
3030
initialized before the database-specific extensions can be loaded.
3131
If you built PDO and the database-specific extensions statically, you
3232
can skip this step.
3333
<screen>
3434
<![CDATA[
35-
extension=pdo.so
35+
extension=pdo
3636
]]>
3737
</screen>
3838
</para>
@@ -42,21 +42,16 @@ extension=pdo.so
4242
<title>Windows users</title>
4343
<step>
4444
<para>
45+
PDO is enabled by default.
4546
Choose the other database-specific DLL files and either use
4647
<function>dl</function> to load them at runtime, or enable them in
47-
&php.ini; below <filename>php_pdo.dll</filename>. For example:
48+
&php.ini;. For example, this loads the
49+
<link linkend="ref.pdo-sqlite">PDO_SQLITE</link> driver but
50+
leaves the <link linkend="ref.pdo-odbc">PDO_ODBC</link> driver commented out:
4851
<screen>
4952
<![CDATA[
50-
extension=php_pdo.dll
51-
extension=php_pdo_firebird.dll
52-
extension=php_pdo_informix.dll
53-
extension=php_pdo_mssql.dll
54-
extension=php_pdo_mysql.dll
55-
extension=php_pdo_oci.dll
56-
extension=php_pdo_oci8.dll
57-
extension=php_pdo_odbc.dll
58-
extension=php_pdo_pgsql.dll
59-
extension=php_pdo_sqlite.dll
53+
;extension=pdo_odbc
54+
extension=pdo_sqlite
6055
]]>
6156
</screen>
6257
</para>

0 commit comments

Comments
 (0)