Install PHP5 and dependencies

You can install PHP and dependencies using the command
Step 1:


yum  install  php  php-mysql

Step 2:


type index.php file in directory /var/www/html/

<?php phpinfo(); ?>

Type localhost/index.php and your php information will be displayed in your browser.

Share

You may also like...