Call to undefined function unixtojd()

Bradley Giesbrecht pixilla at macports.org
Wed Apr 20 09:11:03 PDT 2011


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/2d3d61c0/attachment.html>


More information about the macports-users mailing list