Website url
Test url: https://zmtechnolog.top/abi.php
My issue
PHP script:
<?php
require_once "/includes/head_tags.php";
?>
(yes,it is so simple and was only used to test)
This is what my /htdocs/includes
folder looks like:
And I’m getting this when visiting the page:
Warning: require_once(/includes/head_tags.php): failed to open stream: No such file or directory in /home/vol19_1/infinityfree.com/if0_34450035/htdocs/abi.php on line 2
Fatal error: require_once(): Failed opening required '/includes/head_tags.php' (include_path='.:/usr/share/pear/') in /home/vol19_1/infinityfree.com/if0_34450035/htdocs/abi.php on line 2
Changing /includes/head_tags.php
into /htdocs/includes/head_tags.php
didn’t work.
Any ideas of why is this ever happening?
The relative path is indeed working for me without any problem.