Reputation: 99
I use wampserver 2.4 with php 5.4 , for 64bits in windows platform.
I have a problem with wampserver. It shows a red icon but it tell me that it online, when I tried to open the localhost it doesn't show the localhost for the wampserver , "Unable to connect" that what shows in Firefox.
I tested the port 80 and the result was " your port 80 is not actually used " Then,I uninstall the Skype to make sure there is no conflicting between them. I reinstall the Apache but nothings changed.
I opened start>control panel>administration tool> services, and check the proprieties for the server and it was stop, and the icon 'start' was gray so i couldn't change it.
So I reinstall the wampserve and the localhost worked but the icon still read.
I want to connect the MSsql data , so i install the drive files '.dll' then added the needed ones in wamp\php\ext. then added the extension in the php.ini, then restart the wampserver. when i restarted it, the problem came back again and the localhost doesn't work. i tried to remove the extensions that i added in php.ini and restart the wampserver again, but nothing solved.
i've been looking for a solution for three days and tried almost every thing i found in the internet. but it still not working. so i register to stack over flow to present my problem to you.
pleas help me.
Leanah
Upvotes: 1
Views: 16395
Reputation: 4652
Solution that worked for me:
"wamp"
. In my case: wampapache64
and wampmysqld64
;"automatic"
;"Restart All Services"
.I don't know why, but, somehow, the services start-up types where marked as "Disabled"
. Maybe some other software made it without my consent. Because of that, the Wamp was with a red icon, but showing online when hoovering the mouse over it.
Upvotes: 0
Reputation: 99
i think i found a solution, the wampserver is still read, but at least its working and the connection of the firebird data base worked.
when i test port 80 from the wamp it shows nothing there, but when i opened the CMD and write " netstat -aon | findstr :80" this command will present any thig using the port 80 with their PID, so i toke the PID's and checked them in "start task manager" and found there was another apache running :O , so i uninstall it from the CMD, and start running the both WampApache and WampMySql, and yeeeh, the local host worked and the data base connection worked to. but the wampserver stil read lol. at least i get what i want. thank you all for you help.
Upvotes: 0
Reputation: 99
i tried to reinstall every thing trying to figure out what causing this problem. wampserver still read and when i run the Redistributable Package it said " setup failed. one or more issues caused the setup to fail, please fix the issues and then retry setup",, again i checked the port 80 and nothing is used by it, i do all the previous steps but still nothing. i opened the Apache log error and it shows this:
[Thu Feb 20 09:54:42.305846 2014] [mpm_winnt:notice] [pid 3532:tid 440] AH00455: Apache/2.4.4 (Win32) PHP/5.4.16 configured -- resuming normal operations
[Thu Feb 20 09:54:42.305846 2014] [mpm_winnt:notice] [pid 3532:tid 440] AH00456: Server built: Feb 23 2013 13:07:34
[Thu Feb 20 09:54:42.305846 2014] [core:notice] [pid 3532:tid 440] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Thu Feb 20 09:54:42.305846 2014] [mpm_winnt:notice] [pid 3532:tid 440] AH00418: Parent: Created child process 2900
[Thu Feb 20 09:54:43.023464 2014] [mpm_winnt:notice] [pid 2900:tid 324] AH00354: Child: Starting 150 worker threads.
[Thu Feb 20 10:14:27.138239 2014] [:error] [pid 2900:tid 1508] [client ::1:50145] script 'C:/wamp/www/info.php' not found or unable to stat
[Thu Feb 20 10:47:11.156800 2014] [mpm_winnt:notice] [pid 3532:tid 440] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Feb 20 10:47:13.184804 2014] [mpm_winnt:notice] [pid 2900:tid 324] AH00364: Child: All worker threads have exited.
[Thu Feb 20 10:47:16.897611 2014] [mpm_winnt:notice] [pid 3532:tid 440] AH00430: Parent: Child process 2900 exited successfully.
i hope it will tell you something that i didn't get.
Upvotes: 0
Reputation: 94662
The online/offline does not mean that Apache has started. It means you have set it online which changes the Allow from localhost
to Allow from all
in the httpd.conf. And that is all it means.
If the wampmanager icon is RED then neither the Apache(wampapahe) or MysQL(wampmysql) services have started. Therefore Apache and MySQL are not running and nothing will work.
You need to find out what is causing this problem.
If the Apache error log and mysql error logs are empty then look at the Windows event viewer
for error messages from both Apache and MySQL.
I see you want to connect to MSSQL. In that case you have to use the 32bit WAMPServer, as microsoft only produce a 32 bit version of php_mssql. So you will have to uninstall the 64bit WAMPServer, then go and maually delete the \wamp\...
folder structure.
Then install WAMPServer 32bit.
Before you install the 32 bit make sure that you have the following 32bit MS C++ runtime libraries installed on your system.
Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries. You dont need the whole compiler, just these C/C++ runtime libraries.
PS. These are just libraries and NOT the whole compiler.
The 2008 Redist (32bit) is used by wampmanager even if you installed the 64bit WAMPServer.
The 2010 Redist is used by some versions of Apache ( depending on compiler used ).
The 2012 Redist is used by some versions of Apache ( depending on compiler used ).
FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) Link1
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) Link2
If you are using WampServer 2.4 32bit and therefore Apache 2.4.x
Microsoft Visual C++ 2012 is required LInk3 And select vcredist_x86.exe
FOR WAMP 64bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) Link4
Yes you need the x86 Package regardless as wampmanager uses this <<
Microsoft Visual C++ 2008 Redistributable Package (x64) Link5
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) Link6
If you are using WampServer 2.4 64bit
Microsoft Visual C++ 2012 Link7 And select vcredist_x64.exe
Upvotes: 2