Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #31  
Old November 13th, 2002, 04:20 PM
Joe4JC Joe4JC is offline
The name's Joe. Yours?
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Lurking in the shadows...
Posts: 147 Joe4JC User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Well, you can still use those instructions
__________________
Check out 4Life today!

Reply With Quote
  #32  
Old November 13th, 2002, 07:02 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally posted by shiva7663


No, just a normal Win2K system connected to the Internet. I just don't want people connecting to files on my system over the Internet.


they cant if you're on a private network
__________________
Apache Expert

Reply With Quote
  #33  
Old November 16th, 2002, 01:01 AM
confuxion confuxion is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Burlington, VT
Posts: 28 confuxion User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
is phpdev ok?

Quote:
Originally posted by theDog
There are some integrated Win32 packages that help avoid all this fuss. I think SourceForge has several. The one i used last was PHP Home Edition:
http://sourceforge.net/projects/phphome/

This package includes Apache2, so i'm not necessarily recommending it. The only problem i've had so far though was with the php.ini referencing a non-existent sessions directory. I just had to make one. All my apps work fine so far.

Just an FYI for my fellow lazy people.


I opted for this approach, but used phpdev v4.2.3 (not completely sure about which version). Does anyone have any opinion on this particular product? Is there anything I should be aware of that I might not know?

Also, do I have to completely uninstall IIS (on W2K machine) in order to have Apache as my default server? Can they co-exist somehow? Plus, where would I place the web folders I'm developing in order to be able to automatically preview them, for example, when I hit F12 within Dreamweaver ? (In Dreamweaver, F12 automatically loads the currently open document in your default browser)

Thanks in advance for any replies to this.

Reply With Quote
  #34  
Old November 16th, 2002, 04:11 AM
Lindset Lindset is offline
weirdomoderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Alta, Norway
Posts: 370 Lindset User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to Lindset Send a message via AIM to Lindset
Re: is phpdev ok?

Quote:
Originally posted by confuxion
Also, do I have to completely uninstall IIS (on W2K machine) in order to have Apache as my default server? Can they co-exist somehow?


Sure, just configure them to use different ports.. ie. let apache use port 8080, and let IIS use port 80 (default)
__________________
Best Regards,
Håvard Lindset

Reply With Quote
  #35  
Old December 7th, 2002, 11:25 PM
cupidnpsyche cupidnpsyche is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: New York, NY
Posts: 1 cupidnpsyche User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
1. Thank you VERY much for the article!!! I'm going to try to set it up tonight! :-)

2. When I get it setup, how can I publish pages so they can be seen on the Internet, and at the same time, keep my PC safe from hackers???

3. I'm running Windows 98SE on an AMD Athlon 1,150mHZ-based PC with 256MB RAM, and a 40GB hard drive. I have ADSL (1500/386), and I have Sygate Personal Firewall Pro and Norton Antivirus Professional 2003 installed on my PC.

I'm new at this, so any advice, tips, tutorials about how to run a safe web server off my PC would be priceless! Thanks in advance! :-)

Reply With Quote
  #36  
Old December 8th, 2002, 03:23 AM
nihilum nihilum is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 1 nihilum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Configuring PHP with XP - any progress?

Ben's article was great for installing Apache and mySQL - it took me less than five minutes to do both. PHP was another story, however. I ran into the same problem as everyone else with the httpd.conf file; the three lines

LoadModule php4_module c:/php/sapi/php4apache2.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

just don't work - Apache will not restart (note that I tried both php4apache.dll and php4apache2.dll). Comment them out, and the Apache server goes back to normal.

I even went back and tried installing the .exe version of PHP, and got a very funny note at the end of the installation saying that the automatic installation was not completely finished, and I would have to configure my machine manually.

Has anyone made any progress with this? Thanks for the comments.

charliek

Reply With Quote
  #37  
Old December 8th, 2002, 07:07 PM
Kanu Kanu is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 91 Kanu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Here's a zip containing stuff I use.
Attached Files
File Type: zip php.zip (21.4 KB, 358 views)

Reply With Quote
  #38  
Old December 13th, 2002, 10:03 AM
gabihil gabihil is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 3 gabihil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gabihil
Unhappy Major Apache problem on windows 200 - PLZ help!

I'm running Apache 1.3.27 and php-4.2.1-Win32 on a windows 2000 Pro.

I created a PHP script that generates PDF files that are enqueued on a Net Satisfaxtion fax server.

The problem is that after a while the Apache server goes NUTS - it just eats 99% of my processor, often causing my fax server to crash.

Has any of you encountered a similar problem? Maybe not with a fax server, but with Apache on win2k going crazy?

Thank you very much!

Gabriel Hilohi

Reply With Quote
  #39  
Old December 22nd, 2002, 06:04 AM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Re: Major Apache problem on windows 200 - PLZ help!

Quote:
Originally posted by gabihil
I'm running Apache 1.3.27 and php-4.2.1-Win32 on a windows 2000 Pro.

I created a PHP script that generates PDF files that are enqueued on a Net Satisfaxtion fax server.

The problem is that after a while the Apache server goes NUTS - it just eats 99% of my processor, often causing my fax server to crash.

Has any of you encountered a similar problem? Maybe not with a fax server, but with Apache on win2k going crazy?

Thank you very much!

Gabriel Hilohi


quit using it then if does that

Reply With Quote
  #40  
Old December 22nd, 2002, 05:29 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
What happens when you try the script on another server???

Is there a possibility of an infinite loop?

Reply With Quote
  #41  
Old January 13th, 2003, 12:11 PM
wareseeker wareseeker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 71 wareseeker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 7 sec
Reputation Power: 6
Question include_path

Hello,

I was wondering if someone could help me with this.
I have this code included:
Quote:
require("c:/public_html/practices/pagenavi/class.recnav.php");

but everytime run it give me error as below:
Quote:
Fatal error: Failed opening required 'c:/public_html/practices/pagenavi/class.recnav.php' (include_path='.;c:\php\includes') in C:\public_html\practices\pagenavi\index.php on line 8

Is anyone know how to fix this? Please,help me I am greatly appreciated.

Reply With Quote
  #42  
Old January 13th, 2003, 05:26 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
you do not have permission to call the file outside the root,

you will need to call it in the following manner

PHP Code:
require("/practices/pagenavi/class.recnav.php"); 


Also if you could please send me the class.recnav.php file to URL? I would be most greatful.

Reply With Quote
  #43  
Old January 13th, 2003, 09:52 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I've found a strange problem with Apache...

I installed it fine... It works, PHP works, MySQL works... everything's peachy...

The problem I'm having is that I can't access it with Internet Explorer using localhost... If i try visiting http://localhost or http://localhost:80 or http://127.0.0.1 with internet explorer i get a 500 Internal Server Error. I CAN access it by using http://(my-ip)

The strange part comes here. I discovered on the weekend that Netscape WILL access http://localhost (and all the others) just as it should. My question comes with this... Why will Internet Explorer not work, but Netscape does?

Additional information... I'm running a software firewall. I used to be able to access localhost without disabling the firewall (before i formated six months ago); and i recently discovered that still can access localhost with Netscape. But to access Apache using Internet Explorer i have to disable the software firewall... disabling the firewall does nothing for localhost (it still doesn't work)...

I can telnet to localhost on port 80, send the string "GET /index.html HTTP/1.0 " and it returns the code as it should...

Finally, why won't Internet Explorer access Apache locally?

Reply With Quote
  #44  
Old January 13th, 2003, 10:21 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
what happens if you replace localhost with your machine name?? does it still have the same problem?

Reply With Quote
  #45  
Old January 13th, 2003, 11:09 PM
wareseeker wareseeker is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 71 wareseeker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 7 sec
Reputation Power: 6
Quote:
you do not have permission to call the file outside the root,

PHP Code:
require("/practices/pagenavi/class.recnav.php"); 


I tried everythings it never worked...

Reply With Quote
  #46  
Old January 14th, 2003, 09:29 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Quote:
Originally posted by Ben Rowe
what happens if you replace localhost with your machine name?? does it still have the same problem?


Trying to access http://(my-machine-name) only works in Netscape. With Internet Explorer I seem to get a 502 Bad Gateway error.

Reply With Quote
  #47  
Old January 14th, 2003, 07:06 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
Quote:
Originally posted by MadCowDzz


Trying to access http://(my-machine-name) only works in Netscape. With Internet Explorer I seem to get a 502 Bad Gateway error.



that's strange hmmm try using just your ip address like for example