introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

unexpected end of apache



Posted by: Mary Flaws
May 03, 2010 12:32AM
I just installed EasyPHP 5.3.2i. I am new to php. I am not able to start Apache. It just says "unexpected end of apache"

The log file shows this:
02/05 17:36:02 EasyPHP Apache CreateProcess "C:\PROGRA~1\EASYPH~1.2I\Apache\bin\apache.exe"
02/05 17:36:02 EasyPHP ServerBase::TimerProc : GetProcessVersion Apache2.2 (pid: 3224) error 5

I have tried opening port 80, but I am not sure I am doing that correctly. I am running EasyPHP as an administrator. I have installed this on a computer with Windows XP.
Options: ReplyQuote
May 13, 2010 06:42PM
I'm having the same problem with no error log entries. Apache will simply not start.
I have also enabled port 80 at the firewalls
Options: ReplyQuote
Posted by: maria islam
May 13, 2010 10:30PM
salam alikoum ( peace be upon you )


please help me!

i have got a message after install easyphp5.3.2i .

thanks.
Options: ReplyQuote
May 14, 2010 02:11PM
I ran 'netstat -an' in the Windows command line shell and discovered that port 80 was being used by some other process so I changed the apache default port to 8080 and it started up.

Go to the apache configuration file by right clicking the icon and selecting it.
Change 'listen 127.0.0.1:80'
to 'listen 127.0.0.1:8080'
save it and restart apache.
Works for me.
Options: ReplyQuote
Posted by: Thierry
May 17, 2010 02:17PM
Ok, port using detection does not work on 7. working on it.
Options: ReplyQuote
Posted by: ruzz
May 22, 2010 06:29PM
I'm trying to fix like you, but it doesn't work.
When I click on start Apache button, it starts but after 1-2 seconds, it stop.

Why?

thanks
Options: ReplyQuote
May 23, 2010 03:39PM
The fix worked for me on XP. Thx!
Options: ReplyQuote
Posted by: Veronique Ayotte
May 25, 2010 08:42PM
Thank you Terence for the fix. Worked wonders on an eSATA drive with XP installed. Exactly same error: Apache wouldn't start and no error log messages. Changed to the suggested port and starts perfectly now.
Options: ReplyQuote
Posted by: Peter Brodt
June 28, 2010 07:11PM
It also worked on Windows 7, 64bit. Thank you Terence!
Options: ReplyQuote
Posted by: Armand
September 24, 2010 08:29AM
Ok.

For anyone who has been tearing their hair out and wondering how to get this port 80 changed to port 8080 on Easy PHP. Here's a step by step for the technically challenged.

- Go to C:\Program Files\EasyPHP-5.(whatever version it is)\apache\conf
- There you will see a file called httpd.conf
- Right click on it and click on "Open"
- It'll say windows cannot open this file. You will have to click on "Select the program from a list"
- It'll open a window and select the notepad.
- Make sure you "untick" the box that says "Always use the selected program to open this kind of file". Or else, if you leave it "ticked" - it will always open a file like that with notepad (not good).
- Then click on ok.
- Use "ctrl f" to find the number 80. Change all of the numbers "80" that you can find to "8080".
- Once you replaced those numbers, go to "file" >> "save as" >> click on the drop down arrow and select "all files" instead of ".txt".
- Save it as "httpd.conf" (without quotes).
- Restart your EasyPHP program and it should be automatic and you're good to go!

Then you can give me a kiss or kiss your computer for me because I just made your life easier for you. :)

Hope this helps.
Options: ReplyQuote
Posted by: Jan Kratochvíl
November 09, 2010 05:52PM
Many thanks to you Terrence, it is working...
Options: ReplyQuote
Posted by: shahbaz
November 06, 2011 07:32AM
I just installed EasyPHP 5.3.8.1 I am new to php. I am not able to start Apache.
it just says:
=============
06/11 11:16:37 EasyPHP: Servers starting
06/11 11:16:40 Apache: Unexpected end of Apache !
06/11 11:16:43 EasyPHP: &Check version


The log file shows this:
========================
[Sun Nov 06 11:24:14 2011] [notice] Apache/2.2.21 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Sun Nov 06 11:24:14 2011] [notice] Server built: Sep 10 2011 11:34:11
[Sun Nov 06 11:24:14 2011] [notice] Parent: Created child process 2512
[Sun Nov 06 11:24:14 2011] [notice] Child 2512: Child process is running
[Sun Nov 06 11:24:14 2011] [crit] (OS 10022)An invalid argument was supplied. : Child 2512: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Sun Nov 06 11:24:14 2011] [crit] Parent: child process exited with status 3 -- Aborting.


I opened httpd.conf file to change the port, it is using following port.

#Listen 12.34.56.78:8887
Listen 127.0.0.1:8887

I am using Windows Xp version 2002 with service pack 3
i would be grateful for your kind advice.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.