
-----------------------------------
unknowngiver
Tue Jun 27, 2006 7:11 pm

Apache help needed
-----------------------------------
Hey
i am trying to install apache mysql and php but i am getting errors for APACHE
here is a screenshot...
i know what it means..but what i dont know is how to see what program is using that port and how to DISABLE that program [and FREE that port]
help please :(

-----------------------------------
JSBN
Tue Jun 27, 2006 11:32 pm


-----------------------------------
are you possibly running multiple instances of apache?
also, see if anything appears to you at his link:

http://localhost/

-----------------------------------
JackTruong
Wed Jun 28, 2006 12:04 am


-----------------------------------
What known programs are you running right now? I know that Skype would interfere with an Apache server, but I'm not sure about others.

-----------------------------------
Amailer
Wed Jun 28, 2006 12:45 am


-----------------------------------
Skype shouldn't because I use Apache and Skype at the same time and I have no problems. It is must likely what JSBN said- try CTRL+ALT+DELETE and kill off all your httpd.exe (depends on which version of Apache your running) and then try starting the server up manually for test purposes.

Umm I had this problem when my 'start' server was installed as a service + it was in my 'startup' directory (Start -> All Programs -> Start up)

-----------------------------------
unknowngiver
Wed Jun 28, 2006 9:23 am


-----------------------------------
hey
heres the weird thing abt localhost
when i go to http://localhost i see a blank page
when i type http://localhost/Anything.anyextenstion it gives me the download option and opens a blank file :S

-----------------------------------
JackTruong
Wed Jun 28, 2006 2:34 pm


-----------------------------------
@Amailer: I've only had problems when I told Skype it can use port 80 as a connection port instead of the one set by me.

Maybe this isn't the most efficient way of doing it, but I haven't messed around with any other flags to yield the same results.

Open up a command prompt;netstat -nvab
Look carefully across 0.0.0.0:80.

Dumb question, but which version of Windows and Apache are you currently running?

-----------------------------------
unknowngiver
Wed Jun 28, 2006 6:33 pm


-----------------------------------
hm nvm...i just reinstalled windows:P and now its all gud..except...i got this error when using Mail function :p


Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\xampp\htdocs\chapter1\processfeedback.php on line 14

-----------------------------------
JackTruong
Wed Jun 28, 2006 7:54 pm


-----------------------------------
I was never really fond of the package server programs, I like installing AMP individually.

Do you have a mail daemon setup on your machine? Not sure what xampp includes, but it probably won't include one. Also, your ISP will most likely block outgoing on port 25

-----------------------------------
Corvillus
Mon Jul 03, 2006 1:18 pm


-----------------------------------
Also, are you running IIS? A stripped down version of it comes with Windows, and I think a development version comes with Visual Studio .NET, so that could be a potential conflict as well.

-----------------------------------
octopi
Tue Jul 04, 2006 11:43 am


-----------------------------------
For the mail problem, you just need to set the smtp server you use, to be the same as your ISP has given you to access their email. bell used to be smtp1.sympatico.ca
