To check whether your linux-box has PHP installed or not:
- From the command-shell run: rpm -qa | grep -i php
- this should return something like this:
Or, you could run a test.php file within the htdocs dir in Apache:
<TITLE>PHP Test Page</TITLE>
<BODY><?php phpinfo() ;?></BODY>
You can also look for the installed php dir and run the ‘info.php’ file.