You are here: Re: PHP5.1.6: Class DateTime not found / undefined function date_create « PHP Language « IT news, forums, messages
Re: PHP5.1.6: Class DateTime not found / undefined function date_create

Posted by Pugi! on 01/14/08 15:40

On 14 jan, 15:27, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Jan 14, 6:25 am, "Pugi!" <pugin...@gmail.com> wrote:
>
> > 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 ?
>
> > Pugi
>
> There's a comment in the manual on date_create():
>
> "date_create and other DateTime related functions are included by
> default only in PHP versions equal and greater than 5.2.
>
> In PHP 5.1.2 this functionality is marked to be experimental and has
> to be enabled at compile time."

Yes, I saw that today on the online manual, but I use a downloaded
manual (chm) and there it says PHP >= 5.1.0

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация