≡ Menu

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

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
Share this tutorial on:

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

{ 0 comments… add one }
Security: Are you a robot or human?
You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">


   Tagged with: