Edit the sri_config.php file in the top directory of installation location.
Enter the path of the directories for each configuration and save the file.
Make sure that you re-start your web server after these changes. Once the server has been used in production, then do not change the config below.
$tmp_path = "/tmp";
$app_root_dir = "/var/www/html";
$base_dir = "/";
$public_path = "/var/www/public_files";
$private_path = "/var/www/private_files";
$db_host_name = "localhost";
$db_user_name = "root";
$db_user_pwd = "bc8969d9283e";
tmp_path: This is the server's temporary file location path. this is used by the os to store temporary files.
app_root_dir: This is the physical directory location where the Sri application is installed on the server.
If the application is installed on your server in the html directory of your Apache server in a Centos installation then this path will be /var/www/html.
However If the application is installed as a virtual directory then it could be /var/www/sri . Where sri is the final directory containing the application.
Note: the application needs directory access to read, write and access permissions. Ensure that apache user has access.
base_dir : This is the base directory.
public_path: This is the directory which will contain public facing documents and images. The logo's and other web images are served from this directory.
Note: ensure that this directory is not public writable.
private_path: This directory will contain documents and files that are only accessible by the users.
Note: ensure that this directory is not public readable or writable.