I've copied all the drupal files into a directory on the server (running Apache 2 locally for testing).

I've created the database using phpmyadmin.

I then point my browser to http://localhost/drupal and I get the following error:

-------------------------------------

Warning: include_once(includes/install.inc) [function.include-once]: failed to open stream: No such file or directory in c:\webdev\drupal\includes\database.mysql.inc on line 94

Warning: include_once() [function.include]: Failed opening 'includes/install.inc' for inclusion (include_path='.:/program files/php/includes') in c:\webdev\drupal\includes\database.mysql.inc on line 94

Fatal error: Call to undefined function install_goto() in c:\webdev\drupal\includes\database.mysql.inc on line 95

-------------------------------------

All the files it mentions exist in the right place so what's going on?

Still quite new to Drupal so speak slowly. Cheers.

Comments

cog.rusty’s picture

All the files it mentions exist in the right place so what's going on?

You mean that the "install.inc" file is inside an "includes" subdirectory under drupal, yes?
If so, is your server on Windows?

podsnap’s picture

Yep, "install.inc" is in the "includes" folder.

I'm running Apache 2 on Windows with PHP 5.1.2 and MySQL 5.0.22 if that's any help.

cog.rusty’s picture

Try setting your include_path to use .; instead of .: in your php.ini.

podsnap’s picture

That's done it Cog, thanks for your help, that's great.

thornhawk’s picture

Just in a followup to this issue (and similarly reported ones), if you are installing Drupal 6 on Wampserver *, change the last line in the php.ini file from:
include_path="C:\wamp\bin\php\php5.2.5\pear"

to:
include_path=".;C:\wamp\bin\php\php5.2.5\pear"

*WampServer 2.0c [05/05/2008]
Includes :
- Apache 2.2.8
- MySQL 5.0.51b
- PHP 5.2.6