where is installed php linux code example
Example 1: test if php is installed
Create a php file containing code <? php echo phpinfo(); ?> and save it as test.php.
then you have installed PHP properly.
Example 2: check installed php modules in linux
php -m | grep mbstring