mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Tell about PDO_SQLITE and SQLite (bug #37112)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212015 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e2d7169929
commit
f754d45de4
1 changed files with 28 additions and 3 deletions
|
@ -1,10 +1,13 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<section id="pdo.installation">
|
||||
&reftitle.install;
|
||||
<procedure id='pdo.install.unix51up'>
|
||||
<title>PHP 5.1 and up on Unix systems</title>
|
||||
<step>
|
||||
<para>
|
||||
If you're running a PHP 5.1 release, PDO is included in the distribution;
|
||||
If you're running a PHP 5.1 release, PDO and <link
|
||||
linkend="ref.pdo-sqlite">PDO_SQLITE</link> is included in the distribution;
|
||||
it will be automatically enabled when you run configure. It is
|
||||
recommended that you build PDO as a shared extension, as this will allow
|
||||
you to take advantage of updates that are made available via PECL. The
|
||||
|
@ -15,6 +18,8 @@
|
|||
PDO drivers</link> to find out more about that, but note that if you
|
||||
build PDO as a shared extension, you must build the PDO drivers as
|
||||
shared extensions.
|
||||
SQLite extension depends on PDO so if PDO is built as a shared extension,
|
||||
SQLite needs to be built the same way.
|
||||
<screen>
|
||||
<![CDATA[
|
||||
./configure --with-zlib --enable-pdo=shared --with-pdo-sqlite=shared --with-sqlite=shared
|
||||
|
@ -34,8 +39,6 @@
|
|||
<screen>
|
||||
<![CDATA[
|
||||
extension=pdo.so
|
||||
extension=pdo_sqlite.so
|
||||
extension=sqlite.so
|
||||
]]>
|
||||
</screen>
|
||||
</para>
|
||||
|
@ -134,3 +137,25 @@ extension=php_pdo_sqlite.dll
|
|||
</step>
|
||||
</procedure>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
|
Loading…
Reference in a new issue