how do i check to see what extensions would be running in a newly install version of php. i followed the following how to https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ and have installed php-7.2.28 so now i have this installed ion /opt/php-7.2,28 and i want to check for the following extensions are active. so i tpye in PHP extensions requirements bcmath ctype curl dom gd hash iconv intl mbstring openssl pdo_mysql simplexml soap spl xsl zip libxml (lib)
Create a file with Code: <?php echo "<pre>"; print_r(get_loaded_extensions()); echo "<pre/>"; ?> Will print the installed modules. On the command line use "/usr/bin/phpX.Y -m" I would suggest instead of compiling the PHP version by yourself, use the packages from sury. Use this guide: https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ Instead of using the debian packages, use this repository: https://launchpad.net/~ondrej/+archive/ubuntu/php/