How to check which PHP extensions have been enabled/disabled in Ubuntu Linux 12.04 LTS?

前端 未结 6 499
借酒劲吻你
借酒劲吻你 2020-12-07 10:36

I\'m using Ubuntu Linux 12.04 LTS on my local machine. I\'ve installed LAMP long ago on my machine. Now I want to enable following PHP extensions:

  1. php_zip
6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 11:37

    Perhaps the easiest way to see which extensions are (compiled and) loaded (not in cli) is to have a server run the following:

    PHP cli does not necessarily have the same extensions loaded.

提交回复
热议问题