cvs: peardoc /en/package/database/mdb2 faq.xml
| From: | Lukas Smith | Date: | Sat, 25 Nov 2006 09:22:14 +0000 |
| Subject: | cvs: peardoc /en/package/database/mdb2 faq.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8898@lists.php.net to get a copy of this message | ||
lsmith Sat Nov 25 09:22:14 2006 UTC
Modified files:
/peardoc/en/package/database/mdb2 faq.xml
Log:
- db extension missing
http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/mdb2/faq.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/database/mdb2/faq.xml
diff -u peardoc/en/package/database/mdb2/faq.xml:1.1 peardoc/en/package/database/mdb2/faq.xml:1.2
--- peardoc/en/package/database/mdb2/faq.xml:1.1 Tue Nov 21 12:19:45 2006
+++ peardoc/en/package/database/mdb2/faq.xml Sat Nov 25 09:22:14 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<!--
@@ -32,13 +32,14 @@
<refsect1 id="package.database.mdb2.faq.nodriver">
<title>"MDB2 Error: not found"</title>
<para>
- This error means that you don't have any MDB2 database driver
+ If you get this error after creating the MDB2 instance it means that you
+ don't have any MDB2 database driver
installed. Since most people use only one database system,
it is unnecessary to install 15 driver files.
</para>
<para>
- If MySQL is the DBS of your choice, do a
- <command>pear install MDB2_Driver_mysql</command>
+ If SQLite is the database of your choice, do a
+ <command>pear install MDB2_Driver_sqlite</command>
and it should work.
</para>
<para>
@@ -47,6 +48,23 @@
in the PEAR package list.
</para>
</refsect1>
+
+ <refsect1 id="package.database.mdb2.faq.nodriver">
+ <title>"pear/MDB2_Drive_XXX requires php extension XXX"</title>
+ <para>
+ If you get this error when trying to install a driver it means that
+ the php.ini loaded in the given installer does not see the "XXX" extension.
+ Either you forgot to install the extension all together or you need to make
+ sure that the extension is actived in all relevant php.ini files. Note
+ that there are usually separate php.ini files for the CLI and your other
+ SAPIs.
+ </para>
+ <para>
+ If all else failes do
+ <command>pear install -nodeps MDB2_Driver_XXX</command>
+ and it should work.
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file