Is it possible to install a php extension if PHP is already installed without having to rebuild PHP? I need to install the calendar extension but I don't like to build PHP, I just installed it with
apt-get and did not builded it from source.
If you installed PHP with
apt-get, then you also need to install any required PHP modules in the same way.
In your case you need to do this:
apt-get install php-calendar