26
26
When installing PDO as a shared module, the php.ini file needs to be
27
27
updated so that the PDO extension will be loaded automatically when PHP runs.
28
28
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
30
30
initialized before the database-specific extensions can be loaded.
31
31
If you built PDO and the database-specific extensions statically, you
32
32
can skip this step.
33
33
<screen >
34
34
<![CDATA[
35
- extension=pdo.so
35
+ extension=pdo
36
36
]]>
37
37
</screen >
38
38
</para >
@@ -42,21 +42,16 @@ extension=pdo.so
42
42
<title >Windows users</title >
43
43
<step >
44
44
<para >
45
+ PDO is enabled by default.
45
46
Choose the other database-specific DLL files and either use
46
47
<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:
48
51
<screen >
49
52
<![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
60
55
]]>
61
56
</screen >
62
57
</para >
0 commit comments