Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: problems with apache 2.2.15 with php 5.x |
|
Author |
|
vkimura
Joined: 08 Mar 2010 Posts: 1 Location: Vancouver, BC
|
Posted: Mon 08 Mar '10 11:05 Post subject: problems with apache 2.2.15 with php 5.x |
|
|
Hi,
I uninstalled my older apache 2.x (from 2007) from my vista control panel. When I installed my apache it works fine. I load some basic html page. But as soon as I add in the following lines to the httpd.conf file:
LoadModule php5_module "C:/Program Files/PHP532/php5apache2_2.dll"
PHPIniDir "C:/Program Files/PHP532"
It can't start. I also had to change the port to 8080 rather than use the usual 80. Here is what I've done thus far:
------
After Iinstalled php 5.3.2 my apache wouldn't start on my Vista Home premium. So I uninstalled the php but apache still wouldn't start. Then I backed up my files and downloaded the latest stable apace 2.2.15. I receive this error about make_sock couldn't bind with 0.0.0.0:80.
http://tutorialref.com/images/make_sock-error-install-apache.PNG
So I read on some forum to kill the PID using netsat -ano. It was PID 4 using port 80.
I tried to force kill it using:
taskkill /F /PID 4
but I receive a access denied error.
I ran it as administrator. I'm logged in as admin too.
So I tried going to the windows services and right clicked on the apache service but I receive this error:
http://tutorialref.com/images/error-starting-apache-windows-services.png
So I then went to my system logs:
http://tutorialref.com/images/system-log-apache-error.png
in the details tab I have this info:
System
- Provider
[ Name] Service Control Manager
[ Guid] {555908D1-A6D7-4695-8E1E-26931D2012F4}
[ EventSourceName] Service Control Manager
- EventID 7024
[ Qualifiers] 49152
Version 0
Level 2
Task 0
Opcode 0
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2010-03-07T13:57:58.000Z
EventRecordID 136389301
Correlation
- Execution
[ ProcessID] 0
[ ThreadID] 0
Channel System
Computer vkimura-PC
Security
- EventData
param1 Apache2.2
param2 1 (0x1)
---------------------
I'm thinking when I uninstalled my older version of apache (can't remember what version) from the control panel I'm having problem getting apache to run with php. It can run without it though.
So I'm thinking perhaps a good registry cleaner and/or compiling apache from source.
But how do I compile from source? I've never done it on a windows though I've compile amp for mac and centos.
Any other suggestions? Apologize this is a long thread. Any help is appreciated.
kind regards,
Victor Kimura |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 08 Mar '10 23:14 Post subject: |
|
|
look in Apache's error log. There may be a hint in there. |
|
Back to top |
|
|
|
|
|
|