Test Apache+PHP with phpinfo() On a CentOS/RHEL v7.x server

by on June 23, 2014 · 0 comments· LAST UPDATED June 23, 2014

Fig.03: Test Apache+PHP with phpinfo() On a CentOS/RHEL v7.x server

The code is as follows to test php installation with /var/www/html/test.php :

 
<?php
   phpinfo();
?>
 

Open a browser and type url:

http://your-server-name-or-ip/test.php
TwitterFacebookGoogle+Found an error/typo on this page? Help us!

Examples and usage: CentOS and RHEL 7: Install Linux, Apache, MariaDB, PHP (LAMP) Stack

{ 0 comments… add one now }

Leave a Comment

Tagged as: