Dear tasairis,
Thank you for your reply.
I did change the "display_errors" setting from "OFF" to "ON" in the "php.ini" file (/etc/php.ini). The "error-reporting" variable was already set to "E_ALL". Still, I see no error-related message when I access the web-page.
I made the other changes as well. But still the situation seems to be the same.
Regarding "include_path"
I read somewhere that one doesn't need to specify path when "include_path" variable in /etc/php.ini file is set properly.
My php.ini file reads as follows:
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
Do I need to remove the semi-colon following ".:/php/includes"? How does PHP read the php.ini file? What does ".:/php/includes" imply?
Regarding Relative and Absolute Paths
I understand that $Document_Root in PHP corresponds to DocumentRoot variable in the web-server's main configuration file.
Is it necessary to include it in the path if my file lies in the working directory (/var/www/html/ in my case)?
How can one reference some file lying in the parent directory of $Document_Root using Relative path?
Are there any additional settings required for using absolute/relative paths?
I would be grateful if anyone addresses these questions.