Author |
|
cjagdish69
Joined: 20 Nov 2007 Posts: 9
|
Posted: Tue 20 May '08 9:45 Post subject: WAMP installation - help required |
|
|
I am also trying to install apache2.2.8. It is installed correctly. Alongwith apache i have installed mysql5.0 and php5.2.5 and the operating system is Windows Vista.
Now whenever i am calling a page http://localhost/phpinfo.php from browser i get the phpinfo output on screen for 30-50 seconds only. after that the page automatically gets blank and the httpd service gets stopped. The error.log file says "Parent : child process exited with status 3221225477 -- Restarting.
Can anobody guide me what is the problem with my apache ? Why it is getting stopped after showing the output of a php ?
- JAGDISH.[/u] |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 20 May '08 19:27 Post subject: |
|
|
Look in the Windows Event Viewer.
Just guessing a little a head of that.
Are you loading PHP via LoadModule and if so are you tring to load
php5apache2.dll ? This is a common mistake made as for Apache 2.2.x you need to be loading php5apache2_2.dll. Just a guess as I said tho.
Gregg |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 20 May '08 19:30 Post subject: |
|
|
Search the forums with 3221225477 and you find quite some posts about this isssue.
Mostly it happens with some PHP extensions.
So disable all extension in php.ini and try again. And than enable only extension you need one by one to see if a extension chrashes your apache when you call phpinfo page.
Steffen |
|
Back to top |
|
alex.w474
Joined: 20 Feb 2008 Posts: 11
|
Posted: Tue 20 May '08 20:10 Post subject: |
|
|
You can try this manual installation instruction that works well for me:
Apache and PHP manual install.
I've tried both Vista&Apache&PHP and Vista&IIS&FastCGI&PHP - both works well. |
|
Back to top |
|
cjagdish69
Joined: 20 Nov 2007 Posts: 9
|
Posted: Wed 21 May '08 7:18 Post subject: Loading of PHP.... |
|
|
Yes , you guessed exactly. I am trying to load PHP thru. LoadModule only. I don't have much knowledge abt. the windows installations but trying to install. I read most of the posts over net. Those posts only told to load the PHP thru. LoadModule. Hence I am trying . Can you please tell me what is the exact way for installing PHP on Windows Vista.
- JAGDISH
glsmith wrote: | Look in the Windows Event Viewer.
Just guessing a little a head of that.
Are you loading PHP via LoadModule and if so are you tring to load
php5apache2.dll ? This is a common mistake made as for Apache 2.2.x you need to be loading php5apache2_2.dll. Just a guess as I said tho.
Gregg |
|
|
Back to top |
|
cjagdish69
Joined: 20 Nov 2007 Posts: 9
|
Posted: Wed 21 May '08 11:47 Post subject: Disabling extensions of PHP - doesn't work for me. |
|
|
I have disabled all the extensions and started the httpd service freshly but it doesn't work for me. Then i have kept the required extensions only and restarted the httpd still problem persist.
- JAGDISH.
Steffen wrote: | Search the forums with 3221225477 and you find quite some posts about this isssue.
Mostly it happens with some PHP extensions.
So disable all extension in php.ini and try again. And than enable only extension you need one by one to see if a extension chrashes your apache when you call phpinfo page.
Steffen |
|
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Thu 22 May '08 3:05 Post subject: |
|
|
This fix is not directly related to your problem, but it may fix it as well so i think its worth the try.
Probably you get your IP address via DHCP.In CMD, type ipconfig /all and write somewhere your ip, gateway, mask, dns (they are probably two), then configure your ethernet controller manually and enter the settings you got from CMD. |
|
Back to top |
|
cjagdish69
Joined: 20 Nov 2007 Posts: 9
|
Posted: Thu 22 May '08 7:59 Post subject: ip address is not related to crashing of Apache. |
|
|
I am doing this configuration on my ACER ASPIRE5520 Laptop and it is not at all connected to LAN. I have checked the 'ipconfig /all' in 'CMD' it is showing me as follows :
"Ethernet adapter Local Area Connection :
Media State : Media disconnected
Connection-specific DNS Suffix :
Descritption : NVIDIA nForce Networking Controller
Physical Address : here it is showing the MAC address.
DHCP Enabled : No
Autoconfiguratoin Enabled : Yes"
So i think this will not be the problem.
Kindly guide
- JAGDISH.
sawo wrote: | This fix is not directly related to your problem, but it may fix it as well so i think its worth the try.
Probably you get your IP address via DHCP.In CMD, type ipconfig /all and write somewhere your ip, gateway, mask, dns (they are probably two), then configure your ethernet controller manually and enter the settings you got from CMD. |
|
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Thu 22 May '08 12:36 Post subject: |
|
|
How do you use internet then? The current information provided by ipconfig says that you are not connected to the internet.Maybe you have another ethernet device? Try to scroll up and see if there is other adapter that have dhcp enabled
Last edited by sawo on Thu 22 May '08 14:10; edited 1 time in total |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
sawo
Joined: 15 May 2008 Posts: 36
|
Posted: Thu 22 May '08 12:53 Post subject: |
|
|
I think the problem is not in this part of the configuration. |
|
Back to top |
|