PDA

View Full Version : PHP and Calendar Functions



KeN Etter
21-Jan-2015, 21:27
Wanting to implement a PHP class that requires PHP compiled with
Calendar Functions. I am running SLES 11 SP3 with PHP 5.3.17. When I
try to use this class I get: "PHP Fatal error: Call to undefined
function cal_days_in_month()..." I've always just used the provided
version of PHP and never had to compile it. Any suggestions on how to
get this working?

Ken

KeN Etter
21-Jan-2015, 21:37
On Wed, 21 Jan 2015 20:27:33 GMT, KeN Etter
<ketter@no-mx.forums.novell.com> wrote:

>Wanting to implement a PHP class that requires PHP compiled with
>Calendar Functions. I am running SLES 11 SP3 with PHP 5.3.17. When I
>try to use this class I get: "PHP Fatal error: Call to undefined
>function cal_days_in_month()..." I've always just used the provided
>version of PHP and never had to compile it. Any suggestions on how to
>get this working?
>
>Ken

Nevermind. After posting this I found php53-calendar. A quick zypper
and everything is working now.

Ken

ab
22-Jan-2015, 00:23
Great to hear! Thank-you for posting back your results, as they will
likely help others.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...