The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to get list of compiled extensions with php5.4

Discussion in 'General Discussion' started by armin654, May 17, 2014.

  1. armin654

    armin654 Well-Known Member

    Joined:
    Feb 12, 2014
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello guys
    I'm checking a production server on which 3 versions of PHP for litespeed is installed.

    I want to know the list of extensions which were used while PHP was compiled for the server.
    Is there any log file on which we be able to read about the options and extensions which were used for compiling the php5.4 on that server?

    Thank you for your help
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    If you have LiteSpeed on the servers, use the following command to get the list of compile options

    /usr/local/lsws/fcgi-bin/lsphp5 -i | grep "Configure Command"

    Replace "/usr/local/lsws/fcgi-bin/lsphp5" with the binary location of other PHPs, to know the respective compile options.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Note that for other users who may have used EasyApache, you can find a list of PHP modules installed with a command such as:

    Code:
    php -m
    Thank you.
     
Loading...

Share This Page