I have an application primarily written in PHP and using jQuery. I have a fresh CentOS VM where I copied application name RCCA under system-test/eabu-tools directory and created a link RCCA inside /var/www/html directory.
Contents of /var/www/html shown below.
lrwxrwxrwx 1 root root 27 Aug 6 12:04 RCCA -> system-test/eabu-tools/RCCA
Application Name is RCCA which have soft link called RCCA inside /var/www/html directory as shown above.
When I am accessing the application using url http://hostname/RCCA/rcca.php. All I am getting is a blank page and when I look at the source of the page I get the following output but nothing further, or includes are not working.
<body>
<div id="header">
<? include "header.php"?>
<?php include "navbar.php" ?>
</div>
<div id="context_container">
<div id="context_content">
<div id="navi"></div>
<div id="tabs-left">
<? include("tabsTemplate.php");?>
<div id="tabs-1" name="all-stats">
<div id="tabs-content">
<? include("all_rcca_sections.php");?>
</div>
</div>
<div id="tabs-2" name="stats1">
<div id="tabs-content">
<? include("rcca_sections1.php");?>
</div>
</div>
<div id="tabs-4">
<div id="tabs-content" name="stats2">
<? include("rcca_sections2.php");?>
</div>
</div> ... so on.
Also, same directory structure and application is working fine on another server. Any idea what I am missing as first PHP deployment on fresh VM?
php -v, if not you need to install it likesudo yum install php. Here is a complete guide to install a LAMP Stack with CentOS: digitalocean.com/community/tutorials/…