Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sun Jul 16, 2006 7:12 pm Reply with quote

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!! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
gregexp







PostPosted: Sun Jul 16, 2006 7:21 pm Reply with quote

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 Bang Head

Ahh well works now:D
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Mon Jul 17, 2006 7:19 am Reply with quote

"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! 
View user's profile Send private message Visit poster's website
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Jul 17, 2006 9:25 am Reply with quote

Try Xampp. Easy installation and if you really need awstats on your locahost you can install this later.

http://www.apachefriends.org/en/xampp.html
 
View user's profile Send private message
gregexp







PostPosted: Mon Jul 31, 2006 5:13 pm Reply with quote

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
Worker



Joined: Oct 07, 2003
Posts: 211

PostPosted: Tue Aug 01, 2006 3:00 am Reply with quote

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 
View user's profile Send private message Visit poster's website
gregexp







PostPosted: Tue Aug 01, 2006 10:09 pm Reply with quote

I used webserv, not bad.

Just this one little error, but now its on google.

So the fix should be easy.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©