Call to undefined function unixtojd()

Jasper Frumau jasperfrumau at gmail.com
Wed Apr 20 10:08:23 PDT 2011


Thanks a lot! Should have done a little more research. Did not know there
were so many extensions available and it was so easy to add one. Thanks
again!

On Wed, Apr 20, 2011 at 8:11 PM, Bradley Giesbrecht <pixilla at macports.org>wrote:

>
> On Apr 20, 2011, at 7:59 AM, Jasper Frumau wrote:
>
> Hi  All,
>
>  I installed Project Pier 0.7.8 beta. After logging in I got the PP debug
> screen indicating:
> Call to undefined function unixtojd() //
> http://www.php.net/manual/en/function.unixtojd.php
> This is apparently related to the calendar function -
> http://www.w3schools.com/php/php_ref_calendar.asp . I also understood this
> is built in under PHP for Windows, but that the extension is not included
> under the Linux PHP built. Does this go the same for the MacPorts PHP built?
> How can I compile PHP myself to get the calendar extension added? Or do I
> not have to recompile? I love the MacPorts PHP port and would prefer not to
> tamper with it..
>
>
> How about:
>
> $ port echo php5-*
> $ port info php5-calendar
> $ sudo port install php5-calendar
>
> --
> Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110420/5114344f/attachment.html>


More information about the macports-users mailing list