The following php code fails:
require_once "/HTML/TEMPLATE/IT.php";
The error messages are:
Warning: main(/HTML/TEMPLATE/IT.php) [function.main]: failed to open stream: No such file or directory in /Applications/xampp/xamppfiles/htdocs/fsa/checkrecenttests.php on line 3
Fatal error: main() [function.require]: Failed opening required '/HTML/TEMPLATE/IT.php' (include_path='.:/Applications/xampp/xamppfiles/lib/php') in /Applications/xampp/xamppfiles/htdocs/fsa/checkrecenttests.php on line 3
The default line in php.ini is
;***** Added by go-pear
include_path=".:/Applications/xampp/xamppfiles/lib/php"
;*****
The file IT.php exists at the path:
/Applications/xampp/xamppfiles/lib/php/pear/HTML/TEMPLATE/IT.php
The permissions are read only.
This code works in other installations. I've tried editing the include path to
include_path=".:/Applications/xampp/xamppfiles/lib/php/pear"
without any effect (except on the error message).
Suggestions?