/pecl-pdo-4d

SVN->Git of the PHP PECL PDO 4D extension http://svn.php.net/repository/pecl/pdo_4d/ plus bugfixes

Primary LanguagePHP

Installing PDO_4D
---------------

4D is a registered trademark of 4D SAS

BUILDING ON UNIX etc.
=====================

To compile your new extension, you will have to execute the following steps:

1.  $ phpize
2.  $ ./configure --with-pdo_4d
3.  $ make clean
4.  $ make
5.  $ make test
6.  $ [sudo] make install

BUILDING ON WINDOWS
===================

The extension provides the VisualStudio V6 project file 

  pdo_4d.dsp
To compile the extension you open this file using VisualStudio,
select the apropriate configuration for your installation
(either "Release_TS" or "Debug_TS") and create "php_pdo_4d.dll"

After successfull compilation you have to copy the newly
created "pdo_4d.dll" to the PHP
extension directory (default: C:\PHP\extensions).


TESTING
=======

You can now load the extension using a php.ini directive

  extension="pdo_4d.[so|dll]"

or load it at runtime using the dl() function

  dl("pdo_4d.[so|dll]");

The extension should now be available, you can test this
using the extension_loaded() function:

  if (extension_loaded("pdo_4d"))
    echo "pdo_4d loaded :)";
  else
    echo "something is wrong :(";

The extension will also add its own block to the output
of phpinfo();