Click to See Complete Forum and Search --> : Warning: Failed opening .....


Anon
08-29-2001, 11:12 PM
Hi All,

I am new to php/apache/mysql

After installing apache and php, when I point my browser to http://localhost, I get following error :

Warning: Failed opening '{/usr/local/apache/htdocs/phpgroupware}/version.inc.php' for inclusion (include_path='./:/usr/local/lib/php') in
/usr/local/apache/htdocs/phpgroupware/header.inc.php on line 88

Warning: Failed opening '{/usr/local/apache/htdocs/phpgroupware}/phpgwapi/inc/functions.inc.php' for inclusion (include_path='./:/usr/local/lib/php') in
/usr/local/apache/htdocs/phpgroupware/header.inc.php on line 93

Fatal error: Call to undefined function: createobject() in login.php on line 25 /usr/local/apache/htdocs/phpgroupware/

/usr/local/apache/htdocs/phpgroupware is owned by nobody:nobody with 755 permissions and apache is running under id nobody.

Please let me know if some setting are incorrect somewhere.

Thanks in anticipation.

regards
Aarti

melmoth
08-30-2001, 09:15 AM
Well

Everyting you need to understand what's happening is in the error message:



Warning: Failed opening
'{/usr/local/apache/htdocs/phpgroupware}/version.inc.php' for inclusion


Ok, php is not able to include the file.
(include_path='./:/usr/local/lib/php') in


Include path are:
common directory (.)
/usr/local/lib/php

Edit your php.ini to add directory where are stored your php file to be included.(in the include_path variable)