how to get list of compiled extensions with php5.4
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
-
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. 0 -
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: php -m
Thank you.0
Please sign in to leave a comment.
Comments
2 comments