<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Prerequisites</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="PDO Driver How-To" HREF="internals.pdo.html"><LINK REL="PREVIOUS" TITLE="PDO Driver How-To" HREF="internals.pdo.html"><LINK REL="NEXT" TITLE="Preparation and Housekeeping" HREF="internals.pdo.preparation.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="sect1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="internals.pdo.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Capítulo 45. PDO Driver How-To</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="internals.pdo.preparation.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="internals.pdo.prerequisites" >Prerequisites</A ></H1 ><P > The following is list of prerequisites and assumptions needed for writing a PDO database driver: </P ><P ></P ><OL TYPE="1" ><LI ><P > A working target database, examples, demos, etc. working as per vendor specifications; </P ></LI ><LI ><P >A working development environment:</P ><P ></P ><OL TYPE="a" ><LI ><P >Other Unix: standard development tools supplied by vendor plus the GNU development tool set; </P ></LI ><LI ><P >Win32: Visual Studio compiler suite;</P ></LI ><LI ><P >Linux: standard development tools, gcc, ld, make, autoconf, automake, etc., versions dependent on distribution;</P ></LI ></OL ></LI ><LI ><P >A working PHP environment version 5.0.3 or higher with a working PEAR extension version 1.3.5 or higher;</P ></LI ><LI ><P >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 ><P >A good working knowledge of the 'C' programming language;</P ></LI ><LI ><P >A good working knowledge of the way to write a PHP extension; <SPAN CLASS="emphasis" ><I CLASS="emphasis" >George Schlossnagle's</I ></SPAN > <SPAN CLASS="strong" ><B CLASS="emphasis" >Advanced PHP Programming</B ></SPAN > (published by Developer's Library, chapters 21 and 22) is recommended;</P ></LI ><LI ><P > 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 ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="internals.pdo.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="internals.pdo.preparation.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >PDO Driver How-To</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="internals.pdo.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Preparation and Housekeeping</TD ></TR ></TABLE ></DIV ></BODY ></HTML >