shell_exec not returns php modules list in the browser.

kiranuk

Registered
Oct 28, 2019
1
0
1
india
cPanel Access Level
Root Administrator
Hello,


When I execute the command print_r(shell_exec('/opt/cpanel/ea-php72/root/usr/bin/php -m')); in the browser it returns following result. It is not listing the PHP modules, WHY?

�UQ�N�0������ƁæU삘Jw5K�P���דt��O/���|�_�j��I>`����h�f��O���8��)����\�A�v&(h�-{������pv8�*M��H�1��{��A=8���P����/���W���{����~�oϷb� �l�l�W?�\�\SVT*�к�#�(yz�� 1�h/��c����#DM��A���x��KVunBQ�O�"S%[�u�bʔE�gW�Cm��',yZ������Uw���n~Uwr��ݏV�


Thank you,
KiranUK