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.


  • 1
    The output is empty – Black Mar 26 '19 at 16:53
  • And what is wrong with apt-get install php-calendar if using Jessie(oldstable) or just installing php7.0-common or php7.3-common on newer versions? It seems that this module was integrated to php common package on Debian - packages.debian.org/search?keywords=php-calendar - What version of Debian are you using? – user34720 Mar 27 '19 at 13:21

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
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.