How do I test PHP or make sure it's working on Red Hat Enterprise Linux?
Updated -
Create the file /var/www/html/test.php
that contains the following line:
/var/www/html/test.php
<?php phpinfo(); ?>
Start your web server:
# service httpd start
On a properly configured system, pointing your web browser to http://<your-web-server>/test.php should give you a php information page with v...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.