I run a Debian Etch server with PHP5, lighttpd and pear.
I have five virtual hosts, up and rocking. Everything works fine.

Now I have to install a brand new one on Drupal. But I get:

Warning: require_once(./includes/bootstrap.inc) [function.require-once]: failed to open stream: No such file or directory in /home/ ...path to dir ... /.index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required './includes/bootstrap.inc' (include_path='.:/usr/share/php') in /home/ ... path to dir .... /index.php on line 12

I searched similar faulty cases here on drupal forum and on pear forum. Of course, I have tried to fix, without glory. I have changed path (in php.ini) to pear etc. Normal routines.

I was thinking, that, this is pear-php5 problem. Now I am informed, this is only Drupal one. So, I ask, what actually happens?
And, do you have clues, how to fix the whole situation?

Otherwise, server runs perfectly,

Thanks for reading and sharing.

HurjaHannes, "Hurja" is "furious" in Finnish.

Comments

yelvington’s picture

This is a PHP configuration issue. I don't see what PEAR has to do with it (Drupal does not require PEAR). Something in your configuration is causing PHP not to obey the inclusion path. It's puzzling because your error message clearly includes the current directory as the first option:

include_path='.:/usr/share/php'

HurjaHannes’s picture

I thank you, yelvington. I have played puzzle. I assume that every combination was fully checked. You wrote "Drupal does not require PEAR". Okay, but could I overtake? Just take off. Please, could you (or some one) expand your statement.

Briefly about backgrounds. I run lighttpd with FastCGI. It's virtual hosting case. There are static content sites and ones, powered by Wordpress. No harms.

Every clue is very, very welcome.