Support » Installation » Installing on localhost

Installing on localhost

  • I succesfully ran the install on my remote (hosted) webserver without a hitch, and decided to also install on my PC so I could edit and test locally. When I run wp-install i get an error:
    Warning: main(//b2-include/wp-db.php): failed to open stream: Invalid argument in c:\inetpub\wwwroot\b2config.php on line 337
    Fatal error: main(): Failed opening required ‘//b2-include/wp-db.php’ (include_path=’.;c:\php4\pear’) in c:\inetpub\wwwroot\b2config.php on line 337
    The root is c:\inetpub\wwwroot and I’m running php4.3.2 on Windows 2000.
    Any help gratefully accepted

Viewing 1 replies (of 1 total)
  • Mike Little


    Hi Stuart,
    It looks like you are also using IIS. I’m not sure that WordPress runs under IIS.
    But you actual error seems to be related to the calculated include path. This is governed by settings and version of PHP you are running.
    Try setting $abspath to an absolute value in the bottom of b2config.php

Viewing 1 replies (of 1 total)
  • The topic ‘Installing on localhost’ is closed to new replies.