PHP problems (IIS 5)

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
His Divine Shadow
Commence Primary Ignition
Posts: 12791
Joined: 2002-07-03 07:22am
Location: Finland, west coast

PHP problems (IIS 5)

Post by His Divine Shadow »

I've been wrestling with this problem for a while now. I've tried first with NT4 server but I did not get anywhere. So I installed PHP 5.20 + MySQL 5 on my XP workstation with IIS, everything works but this package refuses to install.

I always get this same error:

Code: Select all

PHP Warning: require_once(/websurvey/administration/config/global.config.inc.php) [function.require-once]: failed to open stream: No such file or directory in C:\Inetpub\wwwroot\websurvey\administration\config\config.inc.php on line 46 PHP Fatal error: require_once() [function.require]: Failed opening required '/websurvey/administration/config/global.config.inc.php' (include_path='.;C:\php\pear') in C:\Inetpub\wwwroot\websurvey\administration\config\config.inc.php on line 46
I've tried altering permissions and everything but nothing, the files are where they should be as well.

This is an excerpt from INSTALL.txt:
INSTALL INSTRUCTIONS for WebSurvey 1.0

Included in this package:

- Projectfiles
- Install instructions
- Entire database in .sql file
- LGPL License


WebSurvey is developed and tested on Linux Debian Sarge 3.1 with following required modules installed:

MySQL version 4.0.24
PHP version 4.3.10
GD version 2.0.33
Apache version 2.0.54
mhash


Configuration for database connection and paths

The configuration is located in the file administration/config/global.config.inc.php


Other paths

On line 37 in file administration/config/config.inc.php is the path to global.config.inc.php
Change this to the path on your server


Predefined username and password

After the database is installed and the config files is modified you can logon to websurvey with following predefined username and password:

Username: admin@websurvey.fi
Password: admin
I got the required modules but for IIS.
MySQL version 4.0.24 (got version 5)
PHP version 4.3.10 (same here, version 5)
GD version 2.0.33 (this one is 2.0.28 on php5)
mhash

Please help, this problem is driving me insane.
Those who beat their swords into plowshares will plow for those who did not.
User avatar
His Divine Shadow
Commence Primary Ignition
Posts: 12791
Joined: 2002-07-03 07:22am
Location: Finland, west coast

Post by His Divine Shadow »

Well I got that solved but now I get this when I try to login on the new software:
5: Didn't receive 200 OK from remote server. (HTTP/1.1 404)

What? Is this something I need to enable in php or the server?
Those who beat their swords into plowshares will plow for those who did not.
Post Reply