[prev in list] [next in list] [prev in thread] [next in thread] 

List:       macports-users
Subject:    Re: Call to undefined function unixtojd()
From:       Bradley Giesbrecht <pixilla () macports ! org>
Date:       2011-04-20 16:11:03
Message-ID: EB7F36A0-59F9-4A89-B4DF-6E47E205998C () macports ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (unknown)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><br><div><div>On Apr 20, 2011, at 7:59 AM, \
Jasper Frumau wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite">Hi&nbsp; All,<br><br>&nbsp;I installed Project Pier 0.7.8 beta. After \
logging in I got the PP debug screen indicating:<br>Call to undefined function \
unixtojd() // <a href="http://www.php.net/manual/en/function.unixtojd.php">http://www.php.net/manual/en/function.unixtojd.php</a> \
<br>

This is apparently related to the calendar function - <a \
href="http://www.w3schools.com/php/php_ref_calendar.asp">http://www.w3schools.com/php/php_ref_calendar.asp</a> \
. 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..<br></blockquote></div><br><div>How about:</div><div><br></div><div><div>$ port \
echo php5-*</div></div><div>$ port info php5-calendar</div><div><div>$ sudo port \
install&nbsp;php5-calendar</div></div><div><br></div><div>--</div><div>Brad</div></body></html>




_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic