PHP and Calendar Functions

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

On Wed, 21 Jan 2015 20:27:33 GMT, KeN Etter
ketter@no-mx.forums.novell.com wrote:
[color=blue]

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[/color]

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

Ken

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…