I am adding my index.php in public_html and I have a folder named Includes which is also in the public_html folder. Includes folder has a subfolder named PHP which contains a file paths.php.
Now I want to include paths.php file in my index.php file.THe issue that when I am including it by using include function then it is giving me an error in the error log which is:
[24-Jul-2017 18:36:46 UTC] PHP Warning: include(/Includes/php/paths.php): failed to open stream: No such file or directory in /home/latestex/public_html/index.php on line 45
[24-Jul-2017 18:36:46 UTC] PHP Warning: include(): Failed opening '/Includes/php/paths.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/latestex/public_html/index.php on line 45
Can someone please help me how to include paths.php file in my index file properly.
P.S: The project was working fine locally on wamp with the same configuration but in hosting it is giving me an error.