shell_exec not returns php modules list in the browser.
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
Please sign in to leave a comment.
Comments
0 comments