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.
Related
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!
I'm setting up a SSL certificate in WAMP 2.5 and Apache 2.4.9. As I un comment
Include conf/extra/httpd-ssl.conf in http.conf, Wamp not starting. Here is my ssl confg file and httpd.conf. Please have a look and help.
SSL Conf File
Httpd.conf file
Error in Apache error log
[Sun Jan 27 10:04:35.018678 2019] [ssl:warn] [pid 4880:tid 564] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sun Jan 27 10:04:35.034305 2019] [core:notice] [pid 4880:tid 564] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00418: Parent: Created child process 2204
[Sun Jan 27 10:04:35.549913 2019] [ssl:warn] [pid 2204:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.565540 2019] [mpm_winnt:notice] [pid 2204:tid 468] AH00354: Child: Starting 64 worker threads.
For CA certificates you define Path instead of File
SSLCACertificatePath "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
should be
SSLCACertificateFile "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
I just configured an Apache2.4 server to work in SSL mode. I generated the key and Self Signed Cerfificate, edited the conf/httpd.conf and conf/extra/httpd-ssl.conf and after uncommenting Include conf/extra/httpd-ssl.conf from httpd.conf file, the server doesn't start. Here is the log file:
[Sun Jan 17 18:31:47.122863 2016] [ssl:warn] [pid 5736:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e configured -- resuming normal operations
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00456: Apache Lounge VC14 Server built: Dec 9 2015 10:17:39
[Sun Jan 17 18:31:47.122863 2016] [core:notice] [pid 5736:tid 468] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Sun Jan 17 18:31:47.122863 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00418: Parent: Created child process 5832
[Sun Jan 17 18:31:47.715664 2016] [ssl:warn] [pid 5832:tid 408] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 17 18:31:47.731264 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00354: Child: Starting 64 worker threads.
[Sun Jan 17 18:49:38.248874 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 17 18:49:40.249988 2016] [mpm_winnt:notice] [pid 5832:tid 408] AH00364: Child: All worker threads have exited.
[Sun Jan 17 18:49:40.263989 2016] [mpm_winnt:notice] [pid 5736:tid 468] AH00430: Parent: Child process 5832 exited successfully.
Could you tell me what is the problem?
EDIT:
Launching httpd.exe gives this error:
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
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.
I've read many other answers about the subject but couldn't find a solution to mine. Even uninstalled everything and re-installed...
OS Win8-64bit
Wamp 64-bit, Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3
XDebug : 2.2.3
I downloaded 64-bit wsgi from here.
Everything I installed is 64 bit.
When I add LoadModule wsgi_module modules/mod_wsgi.so to httpd.conf WAMP failed to start, removing it solves the problem...
Apache log:
[Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:50:38.914739 2013]
[core:notice]
[pid 6124:tid 380]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00418: Parent: Created child process 3624 [Thu Aug 29 13:50:39.308626 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00354: Child: Starting 150 worker threads. [Thu Aug 29 13:52:03.007076 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Aug 29 13:52:05.009448 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00364: Child: All worker threads have exited. [Thu Aug 29 13:52:05.023457 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00430: Parent: Child process 3624 exited successfully. [Thu Aug 29 13:59:22.716409 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:59:22.717411 2013]
[core:notice]
[pid 5948:tid 376]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00418: Parent: Created child process 5956 [Thu Aug 29 13:59:22.963535 2013]
[mpm_winnt:notice]
[pid 5956:tid 252]
AH00354: Child: Starting 150 worker threads.