downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/migration5.databases.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/migration5.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'migration5.databases.php',
   
1 => 'Databases',
  ),
 
'up' =>
  array (
   
0 => 'migration5.php',
   
1 => 'Migrating from PHP 4 to PHP 5.0.x',
  ),
 
'prev' =>
  array (
   
0 => 'migration5.newconf.php',
   
1 => 'New Directives',
  ),
 
'next' =>
  array (
   
0 => 'migration5.oop.php',
   
1 => 'New Object Model',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="migration5.databases" class="section">
   <h2 class="title">Databases</h2>
   <p class="para">
    There were some changes in PHP 5 regarding databases (MySQL and SQLite).
   </p>
   <p class="para">
    In PHP 5 the MySQL client libraries are not bundled, because of license
    problems and some others. For more information, read the <a href="faq.databases.php#faq.databases.mysql.php5" class="link">FAQ entry</a>.
   </p>
   <p class="para">
    There is also a new extension, <a href="ref.mysqli.php" class="link">MySQLi (Improved
     MySQL)</a>, which is designed to work with MySQL 4.1 and above.
   </p>
   <p class="para">
    Since PHP 5, the <a href="ref.sqlite.php" class="link">SQLite</a> extension is
    built-in PHP. SQLite is an embeddable SQL database engine and is not a
    client library used to connect to a big database server (like MySQL or
    PostgreSQL). The SQLite library reads and writes directly to and from the
    database files on disk.
   </p>
  </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites