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:
  #1  
Old November 28th, 2002, 11:49 AM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Unhappy Apache, again...

Please could some one help me, I've bee trying to do this for a day now...

Ive installed PHP4, well edited and put all the right files in the right place.

Ive installed apache_2.0.43-win32-x86-no_ssl but when I click Monitor Apache servers Start/Stop/Restart are disabled. Ive also edited the httpd.conf file correctly.

Ive tried all this - k start stuff but it dont work. Is that cause i got Apache 2.

Im also running windows 98.

I have also got apache_1.3.27-win32-x86-no_src but I dont like the consol. Shouls I use this instead?

Thanks

Reply With Quote
  #2  
Old November 28th, 2002, 03:20 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: 15
Where have you installed PHP, which version, are you sure you've done it right? Which guide did you follow? Have you amended the httpd.conf? Answer me these Q's and I'll have more to help you with.

Reply With Quote
  #3  
Old November 28th, 2002, 03:27 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Well...

Darth Harnta Gou helped me (Ben Rowe).

PHP is in C:\PHP
the php4ts.dll (or somthing like that) is in \windows\system
the php.ini is in \windows (edited)

I have edited httpd.conf also with Darth Harnta Gou's help.
Im sure its right.

I hope that helps you help me,

Thanks

Reply With Quote
  #4  
Old November 28th, 2002, 03:31 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: 15
You should unpack the PHP zip file into C:\PHP and then copy the files you said you have, as well as any of the files in the dlls folder of C:\PHP to windows\system. Which version of PHP have you installed? Can you attach a screenshot of the problem? Also, if possible, please attach a zip file containing your httpd.conf file and php.ini file...

Reply With Quote
  #5  
Old November 28th, 2002, 03:39 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Here

Here are the files you requested.

Thanks

Reply With Quote
  #6  
Old November 28th, 2002, 03:40 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Oops here they are...

Thanks
Attached Files
File Type: zip problem.zip (36.9 KB, 833 views)

Reply With Quote
  #7  
Old November 28th, 2002, 04:04 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: 15
Looks like the server is not running at all. Do you get any error messages? Have you run the server before you run the admin util? Also (not sure if Win9x allows this) try installing Apache again as a service not an application.

From your httpd.conf file I can see this I would change:

Quote:
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make
# redirections work in a sensible way.
#
ServerName ACBA3106.ipt.aol.com:80


I would change that ServerName value to "localhost"

Also:
Quote:
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var


I would add at the end of the last line: index.php


Hmm, actually, reading that httpd.conf there seems to be a few bits missing. Try reinstalling Apache 2, then PHP (the latest version you can get) and then use the httpd.conf and php.ini I have included in the attached zip file. If you install everything to the default location, then copy those files across and restart the server, everything should be fine and dandy. Any probs, let me know.
Attached Files
File Type: zip php.zip (21.4 KB, 704 views)

Reply With Quote
  #8  
Old November 28th, 2002, 04:12 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
What do you mean?

About Installing it as a service not an application?

Thanks

Reply With Quote
  #9  
Old November 28th, 2002, 04:25 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Still doesnt work...

Still doesnt work. did everything you said.
Its two days now ive been trying to get this to work!
i wont give up.
Any other help would be grateful.

Thanks

Reply With Quote
  #10  
Old November 28th, 2002, 06:14 PM
Gee Gee is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 61 Gee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
Hey tom,

I seriously recommend that you go to www.foxserv.net and download foxserv3.0

It contains apache2.0.39, php, mysql, and it installs everything in one go without any of this hassle you are having.

A couple of clicks during the installation process and you can be writing php in no time!

I used this program to install everything and it is very good. Everything runs smoothly! Check it man - im sure you wont be disappointed!

Reply With Quote
  #11  
Old November 28th, 2002, 06:51 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: 15
That certainly does seem like an easier solution. Be sure to uninstall everything you have at the mo before installing the FoxServ product. Tell me Gee, does it also install Perl scripting support. That's something I was about to do with my server manually, but if this takes care of it then...

Reply With Quote
  #12  
Old November 28th, 2002, 07:01 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I can tell you the problem right away. You have installed Apache incorrectly.

Make sure you have the msi download of Apache and reinstall it again.

If it asks you to change your httpd.conf file say no.

As ive explained to you before, you just need to test apache after you have installed it by calling URL

WIth regards to installing a package like foxserv3.0 i wouldnt recomend it unless your desperate.

Its far better experience installing each one by themselfs. Also packages usually have some options turned off.

Just make sure you install the msi version of apache.

Reply With Quote
  #13  
Old November 28th, 2002, 07:13 PM
Gee Gee is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 61 Gee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
Foxserv contains perl and python as well as php4.

Note - some of your previously created scripts might not run properly or at all if you install foxserv as it uses the new versions of all these apps.

I noticed this when ive been doing tutorials (remember the famous blob tutorial? ) and i have had to modify lots of the code to work with these new versions. One good thing however is that really we should be using the new procedures set out for php4 as it is much more secure than php3. (Even though my code is not secure - but if I learn to do it this way from scratch - I shouldnt have to worry about that stuff in the future. )

What versions / OS are you running at the moment?

Reply With Quote
  #14  
Old November 28th, 2002, 07:23 PM
Gee Gee is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 61 Gee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
Ben,

i can definately see your point and in some ways do agree with you. It is definately better to set each up one by one to your own preferences, but for newbies this can be quite a daunting task.

Hence I tried installing each at first but gave up and tried foxserv.

Getting it up and running was a joy, and now that I have had time to get used to how everything works with each other I would have no worries about setting it up manually.

Also kanu, its your choice - I am not trying to sell this app or anything. If you have installed manually previously, and everthing is running fine - why change it. Im sure you would be able to install perl without to much trouble.

PS Check my new post - maybe you can help

Reply With Quote
  #15  
Old November 29th, 2002, 01:56 AM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Ok,

THanks everyone for helping me.
Ive decided to do what Gee said and download FoxServ. It does seem an easier way of doing things. Also I did install the .msi version of Apache but it wasnt having none of it.

(I would have downloaded forserv earlie but I thingk you gave me the wrong address Gee, I got to some fox killing site.)

Thanks

Reply With Quote
  #16  
Old November 29th, 2002, 12:44 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Wink Another Question


Right im downloading FoxServ 3, I have an 1 hour left before its done. But why is it so big? 33mb. PHP4 and Apache are quite small compared to it. Does MySQL make it this big or is FoxServ an application in itds self?

Thanks

Reply With Quote
  #17  
Old November 29th, 2002, 01:50 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: 15
Apache = ~3 Megs?
PHP = ~5 Megs
MySQL=~13 Megs
Perl = ~10 Megs
Misc Install Routine = Rest

Reply With Quote
  #18  
Old November 29th, 2002, 01:53 PM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Talking Cheers!

6 minutes to go until I can begin programming and I have more questions.

Thanks

Reply With Quote
  #19  
Old November 29th, 2002, 02:03 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: 15
No problems, always glad to help. Many people helped me when I was starting out, so it's only natural I help others etc...

Reply With Quote
  #20  
Old November 30th, 2002, 03:28 AM
Attila Attila is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 67 Attila User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
I think I will try the Foxserve as well.

I followed your Tutorial on how to set up PHP mysql and apache. I was able to get apache and mysql to work great. Although I was not able to get php to work at all.

I definatley did the http://localhost/ and got the apache webpage. But everytime I did the editing with the PHP files I would get an error.

here is my origional help question.

I do not have any of it installed anymore because I needed to replace my Video card...SO I cleaned the computer. FDISK and Format /u



Although I agree with Ben and feel I should learn how to install them myself. So I am sure that I did something worng so I will give it one more try before I use the Foxserve.

I am using this article from this site
Turning Your Windows PC Into An Apache Web Server

Although I would like to know if I should download and run it with the latest apache instead of Apache 1.3 or should i stay with Apache 1.3?

I would perfer the latest version. of Apache but I do not know what would be different in the install and the configuring.

Can someone let me know?

Thanks,
Attial
__________________
Thanks,
Attila
http://www.glorynaspiration.com
http://www.abitofthings.com

Reply With Quote
  #21  
Old November 30th, 2002, 11:22 AM
Tomoso Tomoso is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: United Kingdom, England
Posts: 22 Tomoso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Tomoso
Right, OK...

Ive just installed Apache 1.3 as it said in Ben Rowes article but when i type in 'localhost' i just get a web site not responding message. Does this mean theres somthing wrong with my computer?

Also would any internet options interfere with Apache?
Im using ****ty AOL, does this make a difference?

Thanks.

Reply With Quote
  #22  
Old November 30th, 2002, 01:33 PM
Attila Attila is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 67 Attila User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
ok after fighting with it....I finally got it to work following Ben's Tutorial.

Maybe to help people in the future maybe instead of sending them to the apache and PHP page have the files you did the tutorial on this site to download. For those of us new to this those sites are very confusing.

That was just a suggestion....Thanks for the great tutorial everything was perfect once I got the correct. PHP downloaded.

The correct PHP for Windows XP is php-4.2.3-Win32

Thank you all for the help now it will be easier to work on my website thanks all.

Reply With Quote
  #23  
Old December 1st, 2002, 09:19 AM
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: 15
Quote:
Originally posted by Attila
The correct PHP for Windows XP is php-4.2.3-Win32

Thank you all for the help now it will be easier to work on my website thanks all.
The correct version all depends on what version of Apache you are using, not really on which platform you are using. As a general rule though, the correct version is the latest version.

Reply With Quote
  #24  
Old December 1st, 2002, 03:10 PM
infamous-online infamous-online is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 403 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 27 m 25 sec
Reputation Power: 16
heres a suggestion uninstall both apache server from your computer. reinstall the apache server 1.3.27 .msi version like ben stated and you should be up and running. why are you using apache 2.0+ anyway?
__________________
Apache Expert

Reply With Quote
  #25  
Old December 1st, 2002, 03:12 PM
infamous-online infamous-online is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 403 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 27 m 25 sec
Reputation Power: 16
Quote:
Originally posted by Attila
ok after fighting with it....I finally got it to work following Ben's Tutorial.

Maybe to help people in the future maybe instead of sending them to the apache and PHP page have the files you did the tutorial on this site to download. For those of us new to this those sites are very confusing.

That was just a suggestion....Thanks for the great tutorial everything was perfect once I got the correct. PHP downloaded.

The correct PHP for Windows XP is php-4.2.3-Win32

Thank you all for the help now it will be easier to work on my website thanks all.


no you noobs just need to read first rather than diving in head first without any understanding.

Reply With Quote
  #26  
Old December 1st, 2002, 03:33 PM
infamous-online infamous-online is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 403 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 27 m 25 sec
Reputation Power: 16
Re: Right, OK...

Quote:
Originally posted by Tomoso
Ive just installed Apache 1.3 as it said in Ben Rowes article but when i type in 'localhost' i just get a web site not responding message. Does this mean theres somthing wrong with my computer?

Also would any internet options interfere with Apache?
Im using ****ty AOL, does this make a difference?

Thanks.


no your internet connection has nothing to do with it. heres a trick to see if your apache server is started on your windows machine.

1. if you are the admin of your computer then do this, it will save you a great deal of time. click on my computer, then click control panel again if you are the administrator if your pc then you should see a Administrative Tools folder. click on that folder.

2.click on computer management, then click on services and applications. click on services

3.now you should see a lengthy list of items running under your windows machine, now look for the one that should be labeled "APACHE" and when you see it look to the right and it's status should either read "started" or "stopped". also look to see what does it say about it's startup status it will say "automatic" "manual" or "disabled" look and tell me what it says, if it says disabled then do this.

4.double click on the line that says apache, it will show a lil menu displaying 4 tabs and a service name and description name as well as a path to the excutable and a startup type. under the startup type look below and there will be a "service status" telling you whether it's started or stopped or on pause or resume. make sure it is started, if it's not started click the start button and once you've done that then apache will be up and running.

5.please make sure you are the admin of your own computer before attempting this, because if you're not the admin of your computer then contact the person in charge who can do this for you or else you'll be wasting your time. try out my suggestion and let me know if it helped you any

Reply With Quote
  #27  
Old December 27th, 2012, 07:53 PM
Elvin22a Elvin22a is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 5 Elvin22a User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 2 sec
Reputation Power: 0
Ive tried all this - k start stuff but it dont work.


Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache, again...


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap