Reply to PHP5.1.6: Class DateTime not found / undefined function date_create
Posted by Pugi! on 01/14/08 11:25
I am using PHP 5.1.6 on RHEL5 server (is default installation of PHP).
When using DateTime I get a fatal error: Class DateTime not found, the
same with the function date_create: call to undefined function.
According to the PHP manual DateTime and date_create are available
from PHP version 5.1.0.
The development machine uses PHP 5.2.1 (everything works fine), but
for production I am stuck with PHP5.1.6.
How do I solve this ?