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.
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.
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.
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. :)
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.