Results 1 to 7 of 7

Thread: Windows IIS/XAMPP Problem

  1. #1
    Join Date
    Nov 2007
    Location
    USA
    Posts
    170
    Thanks
    8
    Thanked 22 Times in 22 Posts

    Default Windows IIS/XAMPP Problem

    So I wanted to start learning a bit of ASP so I got my IIS up and running and everything works fine...

    Now, I want to go back to using XAMPP to do PHP but I don't know how to do this. They are both "localhost" so I tried to turn off the IIS (which I think I did successfully, but I'm not sure)... I just don't know what to do or how to get my XAMPP working again...

    Any help on this would be GREATLY appreciated! Thanks!


    EDIT: I just was looking and when I am in the XAMPP control panel to start MySQL and Apache, MySQL is running but when I click on Apache it starts up and then 1 second later it turns off...
    Last edited by Moshambi; 08-27-2008 at 04:11 PM.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can use another port for the XAMPP Apache server like 8080 instead of using the default port 80. You need to change the config file of your XAMPP Apache Webserver for that purpose.

    Before starting the following steps, shutdown the XAMPP Apache service if it is running.

    (a) Open the XAMPP installation folder

    (b) Open folder named 'apache' and then a folder name 'conf'

    (c) In the 'conf' folder open the file 'httpd.conf' using any text editor like Notepad.

    (d) Search for a string 'Listen 80' in the file

    (e) After locating the line, change that 80 to some other number like 8080.

    (f) Save the file and close it.

    (g) Restart the XAMPP server.

    (h) Open your browser and enter 'http://localhost:8080' (without quotes) if it shows the page properly the XAMPP server is running properly and listening on port 8080.

    Now you can run IIS in port 80 and XAMPP's Apache in port 8080, the only thing is that if you try to access any webserver that listens on a port other than port 80 you'll have to mention that in the URL while trying to access any resource in that server.

    Hope this helps.

  3. #3
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Problem with Port 80

    PLEASE HELP!
    I already did the procedure written here.
    http://www.dynamicdrive.com/forums/s...ad.php?t=35972
    but still not successful.
    I was able to install XAMPP but Apache is not working.
    When click Start beside the Apache, it will display the message Running
    then it will disappear.

    When i tried re-starting XAMPP for the XAMPP folder, it will show a black
    screen stating several text including this message.
    Apache killed. Unable to open logs.

    I tried running it in the Services(Local) window/folder,
    but after I clicked Start, an error message displayed stating:
    The XAMPP Service service on Local Computer started and then stopped.
    Some services stop automatically if they are not in use by other services
    or programs

    When I tried running xampp-portcheck a message box displayed stating
    openports.exe has stopped working.
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if solution is available.

    Please help me. I need it badly.
    I only started experiencing Apache problem after I connected in my work's server which was using asp.
    Hope you could help me.


  4. #4
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem w/ Apache

    what is WinNT Service Manager?
    It says, failed to open
    I tried XAMPP reinstalling w/o checking the services.
    then tried to run apache_installservice from the xampp/apache folder
    and the message above is what i got.
    really need help very badly.

  5. #5
    Join Date
    Sep 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tried this but still not successful.

    When i tried re-starting XAMPP for the XAMPP folder, it will show a black
    screen stating several text including this message.
    Apache killed. Unable to open logs.

    tried running it in the Services(Local) window/folder,
    but after I clicked Start, an error message displayed stating:
    The XAMPP Service service on Local Computer started and then stopped.
    Some services stop automatically if they are not in use by other services
    or programs

    tried running it in the Services(Local) window/folder,
    but after I clicked Start, an error message displayed stating:
    The XAMPP Service service on Local Computer started and then stopped.
    Some services stop automatically if they are not in use by other services
    or programs

    Please help. Thanks.

    ========================================================
    Quote Originally Posted by codeexploiter View Post
    You can use another port for the XAMPP Apache server like 8080 instead of using the default port 80. You need to change the config file of your XAMPP Apache Webserver for that purpose.

    Before starting the following steps, shutdown the XAMPP Apache service if it is running.

    (a) Open the XAMPP installation folder

    (b) Open folder named 'apache' and then a folder name 'conf'

    (c) In the 'conf' folder open the file 'httpd.conf' using any text editor like Notepad.

    (d) Search for a string 'Listen 80' in the file

    (e) After locating the line, change that 80 to some other number like 8080.

    (f) Save the file and close it.

    (g) Restart the XAMPP server.

    (h) Open your browser and enter 'http://localhost:8080' (without quotes) if it shows the page properly the XAMPP server is running properly and listening on port 8080.

    Now you can run IIS in port 80 and XAMPP's Apache in port 8080, the only thing is that if you try to access any webserver that listens on a port other than port 80 you'll have to mention that in the URL while trying to access any resource in that server.

    Hope this helps.

  6. #6
    Join Date
    Oct 2008
    Location
    UK
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Moshambi wrote:
    > when I click on Apache it starts up and then 1 second later it turns off...

    Exit from Skype, then try again. It worked for me in the same situation.

  7. #7
    Join Date
    Nov 2007
    Location
    USA
    Posts
    170
    Thanks
    8
    Thanked 22 Times in 22 Posts

    Default

    I ended up just getting rid of the IIS server and using xampp. I figured I should learn PHP or ASP and not both at the same time, so I stuck with PHP. But to note I don't have skype so that wouldn't have been an issue..thank you for the reply though =)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •