nativeInstallerwamp

Check PHP configuration

The easiest way to check the PHP configuration, including which modules are installed, is to create a test script using the phpinfo() function. Open your favorite text editor and type:

<?php phpinfo(); ?>

Save the file as phptest.php in the Web server document root (installdir/apache2/htdocs/ for Apache or installdir/nginx/html for NGINX. Make sure the Web server is running, open a browser and type http://localhost/phptest.php. You should then see a screen showing detailed information about the PHP version you are using and installed modules.

PHP info

You can also run the following command to list installed modules only:

$ installdir/php/bin/php -m