This is the config file for the example in tutorial.
<?xml version="1.0" encoding="ISO-8859-1"?> <options> <!-- The intput directory that contains class source files to be compiled --> <!-- Use commma for multiple directories --> <source_dirs>classes</source_dirs> <!-- Whether to compile subdirs recursively: true(default)|false --> <recursive>true</recursive> <!-- The output directory that the compiled runtime info is stored --> <!-- You need to make it writable to the user who runs your web app --> <compiled_dir>compiled</compiled_dir> <!-- The file to contain the compiled information: default to compiled.ezpdo --> <compiled_file>compiled.ezpdo</compiled_file> <!-- The default DSN to the database you want to store your objects --> <!-- This will be default DSN for classes that do not have DSN specified --> <default_dsn>mysql://ezpdo_ex:pdoiseasy@localhost/ezpdo_ex</default_dsn> <!-- Whether to enable auto-compile: true(default)|false --> <!-- Class will be auto-compiled for the first time to be persisted --> <auto_compile>true</auto_compile> <!-- Whether you want to enable auto-flush: true(default)|false --> <!-- All 'dirty' objects are commit before your script exits--> <auto_flush>true</auto_flush> <!-- The database abstraction library you want to use: default to adodb--> <!-- Currently available options: adodb, peardb --> <db_lib>peardb</db_lib> <!-- Configuration for the EZPDO loggers: console, file, db --> <log> <!-- The console logger --> <console> <!-- Whether to enable the console logger: true(default)|false --> <!-- The console logger only works when you run script from CLI --> <enabled>true</enabled> <!-- Which stream to use: stdout or stderr --> <stream>stdout</stream> </console> <!-- The file logger (optional) --> <file> <!-- Whether to enable the file logger: true(default)|false --> <enabled>true</enabled> <!-- Which file to write logs. Default to ./ezpdo.log --> <!-- Make sure the file is wriatable to the user who runs your web --> <file>log/ezpdo.log</file> </file> <!-- The db logger --> <db> <!-- Whether you want to enable the file logger: true|false(default) --> <enabled>false</enabled> <!-- The DSN to the db you want to write logs to --> <dsn>mysql://ezpdo_ex:pdoiseasy@localhost/ezpdo_ex</dsn> <!-- The name of the database table you want to write logs to --> <table>ezpdo_log</table> </db> </log> </options>