WAMP - Your port 80 is not actually used - apache

I was using wamp server for a long,but suddenly today it stopped working.
When i start wamp the icon doesnt turn to green it stays with orange.
I dont have skype and i have disabled IIS from windows features.but still it doesnt work.
i checked apache error log it shows the following:
[Mon Jan 27 14:07:42.369461 2014] [mpm_winnt:notice] [pid 6220:tid 404] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Mon Jan 27 14:07:42.414463 2014] [mpm_winnt:notice] [pid 6220:tid 404] AH00456: Server built: Feb 22 2013 22:08:37
[Mon Jan 27 14:07:42.414463 2014] [core:notice] [pid 6220:tid 404] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4'
[Mon Jan 27 14:07:42.417464 2014] [mpm_winnt:notice] [pid 6220:tid 404] AH00418: Parent: Created child process 6384
[Mon Jan 27 14:07:42.441465 2014] [:crit] [pid 6384] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
[Mon Jan 27 14:07:42.443465 2014] [mpm_winnt:crit] [pid 6220:tid 404] AH00419: master_main: create child process failed. Exiting.

This may sound silly, but check your Windows PATH setting for odd characters.
This has been caused in the past by a corruption of the PATH.

Related

Can't reach localhost using XAMPP (typo3)

I tried to setup my typo3 page with XAMPP/apache.
I created my typo3 login and a phpMyAdmin user.
When I tried to log into my typo3 backend, it said that it couldn't reach the website. And that's still my problem, I just get an error screen which says "Couldn't reach website", "connection refused". (Not 1:1, my english isn't that sick.)
I already tried to change my ports (didn't work) and wrote localhost as ServerName into the xampp\apache\conf\extra file.
These are my errors in the error log file:
[Wed Sep 04 14:33:59.408550 2019] [core:warn] [pid 6408:tid 588] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 04 14:33:59.431396 2019] [mpm_winnt:notice] [pid 6408:tid 588] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 configured -- resuming normal operations
[Wed Sep 04 14:33:59.431396 2019] [mpm_winnt:notice] [pid 6408:tid 588] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
[Wed Sep 04 14:33:59.431396 2019] [core:notice] [pid 6408:tid 588] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Sep 04 14:33:59.434746 2019] [mpm_winnt:notice] [pid 6408:tid 588] AH00418: Parent: Created child process 2792
[Wed Sep 04 14:33:59.900053 2019] [mpm_winnt:notice] [pid 2792:tid 696] AH00354: Child: Starting 150 worker threads.
Hope you can help me, I am really desperate.
Here is the solution for windows, create proper Apache server configuration
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://gist.github.com/GhanshyamBhava/41d3a34acc11cec2a4828b0d4b2c840f.js" />
Restart server, That's it!

Xampp - localhost not working

Although apache seems as "working" on xampp control panel,I can't reach the localhost or 127.0.0.1 . I changed 80 port to 81 but not solved.
httpd.cong -> Listen 0.0.0.0:80
My host file in system32/drivers/etc directory is like
127.0.0.1 localhost
Last log in the apache error log is
[Tue Jul 14 22:54:33.141632 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Jul 14 22:54:35.145746 2015] [mpm_winnt:notice] [pid 4708:tid 288] AH00364: Child: All worker threads have exited.
[Tue Jul 14 22:54:35.188749 2015] [mpm_winnt:notice] [pid 2620:tid 392] AH00430: Parent: Child process 4708 exited successfully.
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00455: Apache/2.4.7 (Win32) PHP/5.5.9 configured -- resuming normal operations
[Tue Jul 14 22:54:36.218808 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Tue Jul 14 22:54:36.218808 2015] [core:notice] [pid 1376:tid 392] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Jul 14 22:54:36.470822 2015] [mpm_winnt:notice] [pid 1376:tid 392] AH00418: Parent: Created child process 1296
[Tue Jul 14 22:54:36.984851 2015] [mpm_winnt:notice] [pid 1296:tid 288] AH00354: Child: Starting 150 worker threads.
Sometimes the port 80 is used by other applications on windows such as skype.
Try changing the ports to 8080 in the apache>config>httpd.conf
and to 4433 in the apache>config>httpd-ssl.conf
Sometimes your network maybe creating an issue. Try disconnecting the network and reloading the localhost. If it works, then its your network restrictions.

apache (ampps) can't acces one of my folder

I installed AMPPS
I work with some folders without any problem (magento, phpmyadmin, etc).
But with one folder a website downloaded from from the server, I can not access it, also it is not listed in localhost.
When I access the folder which gives me problems, the browser give me this error: 500 Internal Server Error
And from Apache error.log, I receive this:
[Wed Oct 16 22:51:25.062078 2013] [mpm_winnt:notice] [pid 8132:tid 396] AH00455: Apache/2.4.6 (Win32) OpenSSL/1.0.1e PHP/5.3.27 mod_wsgi/3.4 Python/2.7.2 configured -- resuming normal operations
[Wed Oct 16 22:51:25.062078 2013] [mpm_winnt:notice] [pid 8132:tid 396] AH00456: Server built: Jul 24 2013 14:06:52
[Wed Oct 16 22:51:25.062078 2013] [core:notice] [pid 8132:tid 396] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/Ampps/apache'
[Wed Oct 16 22:51:25.065078 2013] [mpm_winnt:notice] [pid 8132:tid 396] AH00418: Parent: Created child process 7960
[Wed Oct 16 22:51:26.214144 2013] [mpm_winnt:notice] [pid 7960:tid 408] AH00354: Child: Starting 64 worker threads.

Why is my XAMPP Apache only showing a blank page?

I've got a few Zend projects on my xampp, but if I'm going to the public directory to show the project, there's only a blank, white page. Testscripts with just an echo or the xampp tools are working fine. The xampp installation is fresh, I didn't change anything and even the Windows 7 installation is new. Also PHP errors and exceptions are showing, if there are any, this is what is written in the error.log:
[Fri May 03 15:49:37.072758 2013] [ssl:warn] [pid 5784:tid 256] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 03 15:49:38.945865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri May 03 15:49:38.946865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00456: Server built: Aug 18 2012 12:41:37
[Fri May 03 15:49:38.946865 2013] [core:notice] [pid 5784:tid 256] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Fri May 03 15:49:38.952865 2013] [mpm_winnt:notice] [pid 5784:tid 256] AH00418: Parent: Created child process 5428
[Fri May 03 15:49:44.385176 2013] [ssl:warn] [pid 5428:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 03 15:49:44.702194 2013] [mpm_winnt:notice] [pid 5428:tid 268] AH00354: Child: Starting 150 worker threads.
just notices and warnings, the php error log is empty. Any ideas how I could fix this?

xampp Apache 1.8.1 localhost error 404/403

I updated xampp from 1.8.0 to 1.8.1 and things didn't work out afterwards. I googled my problems, tried to change stuff and got more problems in the end.
I don't know what to do with the output in the error.log:
[Tue Jan 01 22:34:05.546412 2013] [ssl:warn] [pid 5536:tid 376] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jan 01 22:34:05.627417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Tue Jan 01 22:34:05.627417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00456: Server built: Aug 18 2012 12:41:37
[Tue Jan 01 22:34:05.627417 2013] [core:notice] [pid 5536:tid 376] AH00094: Command line: 'D:\portableapps\xampp\apache\bin\httpd.exe -d D:/PortableApps/xampp/apache'
[Tue Jan 01 22:34:05.628417 2013] [mpm_winnt:notice] [pid 5536:tid 376] AH00418: Parent: Created child process 5672
[Tue Jan 01 22:34:06.592472 2013] [ssl:warn] [pid 5672:tid 268] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Jan 01 22:34:06.629474 2013] [mpm_winnt:notice] [pid 5672:tid 268] AH00354: Child: Starting 150 worker threads.
rename .htaccess to htaccess - Either the Problem lies in there or there is some other server configuration issue.