Re: Fatal error on functions valid for PHP 4, 5
| From: | Andre Dubuc | Date: | Fri, 09 Oct 2009 13:34:00 +0000 |
| Subject: | Re: Fatal error on functions valid for PHP 4, 5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-298816@lists.php.net to get a copy of this message | ||
Hi Jonathon,
I'm using Mandriva 2008.0 x86_64 version (which probably didn't have that
enabled).. Thanks -- will check. Be fun trying to enable it though, given
Mandriva's propensity to stick stuff in weird places. Sigh . . .
Andre
On October 9, 2009 09:20:29 am Jonathan Tapicer wrote:
> What platform? If you compiled PHP yourself you need to compile with
> --enable-calendar.
>
> Jonathan
>
> On Fri, Oct 9, 2009 at 10:01 AM, <kronos@aolohr.com> wrote:
> > Hi,
> >
> > Would someone be kind enough to test whether these following functions
> > work?
> >
> > I'm getting: "PHP Fatal error: Call to undefined function easter_date()
> > . . . easter_days" on both local and production sites.
> >
> >
> > <?php
> >
> > echo easter_days(2009);
> > print "<br><br>";
> > echo date("M-d-Y", easter_date(2009));
> > print "<br><br>";
> > echo date("D d M Y", easter_date(2009));
> >
> > ?>
> >
> >
> > I'm using 5.2.10 production; PHP 5.2.4 local.
> >
> > Tia,
> > Andre
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php