checking & adding PHP modules

Discussion in 'ISPConfig 3 Priority Support' started by NeonTigerUK, Dec 20, 2016.

  1. NeonTigerUK

    NeonTigerUK Member

    Hi All

    Is there a way to check and ad modules for PHP, I'm running 3 versions, 5.6, 7.0.7 and 7.1 so will need to check and maybe add to all.

    Apparently, expires and deflate aren't installed by default :(

    Env: Debian MultiServer : ISPC3 : 2 Mail, 2 Web, 1 MySQL, 2 NS (and growing)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Create a info.php file with the content:

    <?php
    phpinfo();
    ?>

    put that into the website that you want to check the php modules for and open the url to the file in the browser, it will show you the modules that are available in the php version that is used on this website. Don't forget to remove the file afterwards.

    PHP modules of the system PHP get installed with apt. Most PHP modules in self-compiled php versions have to be compiled in, so you might have to recompile the php if you want to add them.
     

Share This Page