httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] DOCUMENT_ROOT errors
Date Mon, 09 Feb 2009 21:39:04 GMT
I think you would be better off reposting your question in a PHP forum.
The messages below belong to PHP, and I don't know if someone here would 
know what exactly the reason is for which it gives this error.
Very vaguely, I seem to remember something about a PHP initialisation 
parameter, to have it "pass on" some standard Apache environment values 
as environment for the PHP scripts.  But don't ask me more, that's all I 

Marc Fromm wrote:
> I updated fedora core from FC5 to TC6, thus httpd and php were updated in the process.
My pages worked with no errors before the upgrade.
> My php pages are no not displaying and generating this error in the httpd logs
> PHP Notice:  Undefined variable: DOCUMENT_ROOT in /var/www/html/studentjobs/index.php
on line 6, referer:
> PHP Warning:  require(/studentjobs/includes/javascript.php) [<a href='function.require'>function.require</a>]:
failed to open stream: No such file or directory in /var/www/html/studentjobs/index.php on
line 6, referer:
> PHP Fatal error:  require() [<a href='function.require'>function.require</a>]:
Failed opening required '/studentjobs/includes/javascript.php' (include_path='.:/usr/share/pear')
in /var/www/html/studentjobs/index.php on line 6, referer:
> PHP Notice:  Undefined index:  cmd in /var/www/html/lan/ztezt/student_alerts/index.php
on line 5
> My current versions are:
> httpd-2.2.6-1.fc6
> php-5.1.6-3.7.fc6
> php-pear-1.4.9-4 (one error above mentions pear)
> Marc

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message