I am trying to install vBulletin 3 onto a Windows 2003 server which is running the Plesk control panel system. When I run the installation, I get a PHP error:
Warning: chdir(): No such file or directory (errno 2) in C:\Inetpub\vhosts\domain.com\httpdocs\install\install.php on line 17
Warning: main(./install/installcore.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\domain.com\httpdocs\install\install.php on line 69
Fatal error: main(): Failed opening required './install/installcore.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\domain.com\httpdocs\install\install.php on line 69
After doing research and asking vB support, I have narrowed the cause to IIS itself. The include() statement in the files uses ./path/to/file.php in the path, which causes an error. But when I remove that ./ and replace it with ../path/to/file.php then it works without any problems.
Does anyone know of any fixes for this? Why is IIS not liking the ./ in the path?