开发者

Call to undefined function time_nanosleep()

I have installed php/apache (version 5.3.8) via MacPorts, and I am getting the error: Call to undefined function time_nanosleep()

According to the manual: http://us.php.net/manual/en/function.time-nanosleep.php this function has been built into php since version 5, and for Windows 5.3. I'm on a Mac, but in either case I should be good.

Is 开发者_如何学Cthere some magic you have to do to enable this on MacPorts? Is there some extra package you have to install? I'm definitely confused on this one. Any help would be appreciated!


This is a bug in PHP that was introduced between PHP 5.3.3 and 5.3.4. I have fixed it in MacPorts in php5 @5.3.8_1; run sudo port selfupdate and sudo port upgrade php5 to receive the fix.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜