Skip to content

Commit

Permalink
Updates Windows installation instructions to fix #4476
Browse files Browse the repository at this point in the history
  • Loading branch information
philip committed Feb 21, 2025
1 parent 7f171ac commit b3d09b7
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions reference/pdo/configure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
When installing PDO as a shared module, the php.ini file needs to be
updated so that the PDO extension will be loaded automatically when PHP runs.
You will also need to enable any database specific drivers there too;
make sure that they are listed after the pdo.so line, as PDO must be
make sure that they are listed after the extension=pdo line, as PDO must be
initialized before the database-specific extensions can be loaded.
If you built PDO and the database-specific extensions statically, you
can skip this step.
<screen>
<![CDATA[
extension=pdo.so
extension=pdo
]]>
</screen>
</para>
Expand All @@ -42,21 +42,16 @@ extension=pdo.so
<title>Windows users</title>
<step>
<para>
PDO is enabled by default.
Choose the other database-specific DLL files and either use
<function>dl</function> to load them at runtime, or enable them in
&php.ini; below <filename>php_pdo.dll</filename>. For example:
&php.ini;. For example, this loads the
<link linkend="ref.pdo-sqlite">PDO_SQLITE</link> driver but
leaves the <link linkend="ref.pdo-odbc">PDO_ODBC</link> driver commented out:
<screen>
<![CDATA[
extension=php_pdo.dll
extension=php_pdo_firebird.dll
extension=php_pdo_informix.dll
extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_oci8.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=pdo_odbc
extension=pdo_sqlite
]]>
</screen>
</para>
Expand Down

0 comments on commit b3d09b7

Please sign in to comment.