<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Prerequisites</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="internals2.pdo.html">PDO Driver How-To</a></div> <div class="next" style="text-align: right; float: right;"><a href="internals2.pdo.preparation.html">Preparation and Housekeeping</a></div> <div class="up"><a href="internals2.pdo.html">PDO Driver How-To</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="internals2.pdo.prerequisites" class="sect1"> <h2 class="title">Prerequisites</h2> <p class="para"> The following is list of prerequisites and assumptions needed for writing a PDO database driver: </p> <ol type="1"> <li class="listitem"> <p class="para"> A working target database, examples, demos, etc. working as per vendor specifications; </p> </li> <li class="listitem"> <p class="para">A working development environment:</p> <ol type="1"> <li class="listitem"> <p class="para">Linux: standard development tools, gcc, ld, make, autoconf, automake, etc., versions dependent on distribution;</p> </li> <li class="listitem"> <p class="para">Other Unix: standard development tools supplied by vendor plus the GNU development tool set; </p> </li> <li class="listitem"> <p class="para">Win32: Visual Studio compiler suite;</p> </li> </ol> </li> <li class="listitem"> <p class="para">A working PHP environment version 5.0.3 or higher with a working PEAR extension version 1.3.5 or higher;</p> </li> <li class="listitem"> <p class="para">A working PDO environment (can be installed using 'sudo pecl install PDO'), including the headers which will be needed to access the PDO type definitions and function declarations;</p> </li> <li class="listitem"> <p class="para">A good working knowledge of the C programming language;</p> </li> <li class="listitem"> <p class="para">A good working knowledge of the way to write a PHP extension; <em class="emphasis">George Schlossnagle's</em> <em class="emphasis">Advanced PHP Programming</em> (published by Developer's Library, chapters 21 and 22) is recommended;</p> </li> <li class="listitem"> <p class="para"> Finally, a familiarity with the Zend API that forms the heart of PHP, in particular paying attention to the memory management aspects. </p> </li> </ol> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="internals2.pdo.html">PDO Driver How-To</a></div> <div class="next" style="text-align: right; float: right;"><a href="internals2.pdo.preparation.html">Preparation and Housekeeping</a></div> <div class="up"><a href="internals2.pdo.html">PDO Driver How-To</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>