Skip to content
  • sept_7's avatar
    [ENH] commit replacement for adoDB and PEAR:Date using PHP5 (optional) · 8faf3b77
    sept_7 authored
    	AdoDB is replaced by PDO
    	 to activate it just add $api_tiki='pdo' to your db/local.php
    	PEAR:Date is replaced by the new Date/Time functions from PHP5
    	 to activate it do to Admin->General and uncheck "Use PEAR::Date library:"
    
    By default nothing is changed after this update, you have to manually activate
    the new replacements...
    
    Please test !
    
    There are short comings like, sqlogs and installer that are not yet converted...
    
    Now to convince you to switch ! 
    PHP5 without cache for the default tiki page after fresh install :
     o adodb+PEAR::Date				: 0.49s 13.84MB
     o adodb+Date replacement : 0.42s 11.47MB
     o PDO+Date replaceemnt		: 0.39s	9.96MB
    
    PHP5 with xcache opcode compiler :
     o adodb+PEAR::Date				: 0.23s 5.08MB
     o adodb+Date replacement : 0.21s 4.14MB
     o PDO+Date replacement		: 0.21s	3.85MB
      
    8faf3b77