Author |
Message |
gregexp
The Mouse Is Extension Of Arm

Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Sun Jul 16, 2006 7:12 pm |
|
Im trying to setup my home pc as a server to test scripts and such without having to upload it onto an outside server.
So I grabbed a package I googled for: WebServ
Nice package, but this would be the first time I setup a server and wanted the easiest and functional setup I could find.
All went well until I tried to run nuke from it
Warning: include(db/mysql.php) [function.include]: failed to open stream: No such file or directory in D:\WEBSERVER\WebServ\wwwroot\htdocs\nuke\db\db.php on line 53
Warning: include() [function.include]: Failed opening 'db/mysql.php' for inclusion (include_path='\;D:\WEBSERVER\WebServ\php\pear;D:\WEBSERVER\WebServ\addons\adodb;D:\WEBSERVER\WebServ\addons\smarty\libs') in D:\WEBSERVER\WebServ\wwwroot\htdocs\nuke\db\db.php on line 53
Fatal error: Class 'sql_db' not found in D:\WEBSERVER\WebServ\wwwroot\htdocs\nuke\db\db.php on line 86
is the error I get. If you cant see it, I tried to add a \ to the include path so that it would check itself, I'm pretty positive that it isnt looking in the same directory its currently in or something isnt configured right. Now sure what as Like Ive said first time for me and this IS a windows os.
Any help would DEFINITLEY be appreciated. |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
 |
 |
gregexp

|
Posted:
Sun Jul 16, 2006 7:21 pm |
|
Fixed it, right idea wrong context, I should have used a period and NOT a \.
So now include path looks like
include_path=".;D:\WEBSERVER\WebServ\php\pear;D:\WEBSERVER\WebServ\addons\adodb;D:\WEBSERVER\WebServ\addons\smarty\libs"
And now it works, 14 hours of searching and it was a simple period
Ahh well works now:D |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Jul 17, 2006 7:19 am |
|
"D", is this Apache? If not, I would highly recommend using Apache instead. You could try the 2.0.x series if you want, but I am certain that the 1.3.x series works. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Mon Jul 17, 2006 9:25 am |
|
|
|
 |
gregexp

|
Posted:
Mon Jul 31, 2006 5:13 pm |
|
I have no clue why I never saw these, Its apache and Thanx for the awesome link Susann.
I got it now workin like a charm. Just a test server for my own testing. |
|
|
|
 |
Dauthus
Worker


Joined: Oct 07, 2003
Posts: 211
|
Posted:
Tue Aug 01, 2006 3:00 am |
|
I have always loved Apache2Triad for that. Everything in one package, and just click on the apache2triad.exe file for the install. |
_________________ Only registered users can see links on this board! Get registered or login!
Vivere disce, cogita mori |
|
|
 |
gregexp

|
Posted:
Tue Aug 01, 2006 10:09 pm |
|
I used webserv, not bad.
Just this one little error, but now its on google.
So the fix should be easy. |
|
|
|
 |
|