httpd.exe error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

httpd.exe error

Postby Bughi04 » 19. July 2012 15:39

Greetings,

Sorry for posting this where i shoudn't have first time!

I have installed Xampp and am trying to start the apache server but it doesen't work. If i hit start from the control panel it stops on the status:starting and if i try it with the batch file well it gives me this error:

httpd.exe: Syntax error on line 456 of C:/xampp/apache/conf/httpd.conf : Syntax error on line 17 of c:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load C:/xampp/php/php5ts.dll into server: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

Now i tried reinstalling xampp and still doesen't work i didn' even touch the conf files after reinstalling. Also i read some post and tried to coment the Load file and Load module lines after that the apache server was working but no php. If i comment the Load File line then the same error moves on line down from php5ts.dll to php5apache2_4.dll.

Could anyone help me please?:D

[EDIT by Altrea: moved ANOTHER TIME from the general Apache forum. To make it clear: THIS here is the correct forum for your issue. If i have to move it a third time i will simply delete it without any comment!]
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby JonB » 19. July 2012 15:51

Did you copy in the httpd.conf from an older installation?

OR

DId you just 'install over' a prior installation?

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: httpd.exe error

Postby Bughi04 » 19. July 2012 15:54

i unistalled everything before reinstalling ... and at first it was on d:/ and second time i installed it i installed it on c:/
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby JonB » 19. July 2012 16:23

OK -

Did you start XAMPP with the Control Panel or xampp-start.exe?

Do you have the Microsoft C++ 2008 runtime libraries installed?

32 bit -
http://www.microsoft.com/en-us/download ... px?id=5582

64 bit -
http://www.microsoft.com/en-us/download ... px?id=2092

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: httpd.exe error

Postby Bughi04 » 19. July 2012 16:35

i used the control panel and the batch files...aw ok well didn't really think of that :D ... i downloaded the libraries and solved that problem :D but now when i click on admin i get a message in the browser saying : "Something is wrong with the XAMPP installation :-("
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby JonB » 19. July 2012 19:20

Ok -

what happens when you go to http://localhost ???
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: httpd.exe error

Postby Bughi04 » 19. July 2012 20:36

i get this message : Something is wrong with the XAMPP installation :-(
and if i try to go to php myadmin i get 404 al over
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby JonB » 19. July 2012 21:05

post the tail of the \xampp\apache\logs\error_log.txt file
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: httpd.exe error

Postby Bughi04 » 19. July 2012 23:24

well here it is:D

[Thu Jul 19 18:33:07.312500 2012] [mpm_winnt:notice] [pid 2468:tid 1888] AH00354: Child: Starting 150 worker threads.
[Thu Jul 19 18:34:14.890625 2012] [mpm_winnt:notice] [pid 2940:tid 1872] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Jul 19 18:34:16.890625 2012] [mpm_winnt:notice] [pid 2468:tid 1888] AH00364: Child: All worker threads have exited.
[Thu Jul 19 18:34:17.000000 2012] [mpm_winnt:notice] [pid 2940:tid 1872] AH00430: Parent: Child process exited successfully.
[Thu Jul 19 18:34:42.375000 2012] [ssl:warn] [pid 2164:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 19 18:34:42.750000 2012] [mpm_winnt:notice] [pid 2164:tid 252] AH00455: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Thu Jul 19 18:34:42.750000 2012] [mpm_winnt:notice] [pid 2164:tid 252] AH00456: Server built: May 13 2012 14:10:15
[Thu Jul 19 18:34:42.750000 2012] [core:notice] [pid 2164:tid 252] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 19 18:34:42.750000 2012] [mpm_winnt:notice] [pid 2164:tid 252] AH00418: Parent: Created child process 1992
[Thu Jul 19 18:34:47.640625 2012] [ssl:warn] [pid 1992:tid 1892] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 19 18:34:48.234375 2012] [mpm_winnt:notice] [pid 1992:tid 1892] AH00354: Child: Starting 150 worker threads.
[Thu Jul 19 18:43:43.015625 2012] [mpm_winnt:notice] [pid 2164:tid 252] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Jul 19 18:43:45.031250 2012] [mpm_winnt:notice] [pid 1992:tid 1892] AH00364: Child: All worker threads have exited.
[Thu Jul 19 18:43:45.140625 2012] [mpm_winnt:notice] [pid 2164:tid 252] AH00430: Parent: Child process exited successfully.
[Thu Jul 19 22:36:14.890625 2012] [ssl:warn] [pid 2248:tid 252] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 19 22:36:18.125000 2012] [mpm_winnt:notice] [pid 2248:tid 252] AH00455: Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Thu Jul 19 22:36:18.140625 2012] [mpm_winnt:notice] [pid 2248:tid 252] AH00456: Server built: May 13 2012 14:10:15
[Thu Jul 19 22:36:18.140625 2012] [core:notice] [pid 2248:tid 252] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Jul 19 22:36:18.156250 2012] [mpm_winnt:notice] [pid 2248:tid 252] AH00418: Parent: Created child process 3088
[Thu Jul 19 22:36:21.140625 2012] [ssl:warn] [pid 3088:tid 1892] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jul 19 22:36:21.671875 2012] [mpm_winnt:notice] [pid 3088:tid 1892] AH00354: Child: Starting 150 worker threads.
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby JonB » 20. July 2012 00:38

OK - we know what is wrong:

Code: Select all
 Init: Session Cache is not configured


That means that Apache can't start https.

But not yet why it is wrong. I suggest you use Port Check/NetStat to see if port 443 is free for starters.

ALSO - where is XAMPP installed??? (what is your XAMPP path)

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: httpd.exe error

Postby Altrea » 20. July 2012 03:25

Hi Bughi04,

JonB wrote:OK - we know what is wrong:

Code: Select all
 Init: Session Cache is not configured

Well, i get that message on my test installation too, but my Apache is working. So i think the problem must be somewhere else :)

@Bughi04: Would be interesting to know, if the request is sended correctly to apache and is logged in the \xampp\apache\logs\access.log file.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6698
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: httpd.exe error

Postby Bughi04 » 20. July 2012 11:30

ok well here is the acces log for now:D... and Altrea i do feal the need to apologize for the fact that i reposted my post in a different topic :D...

here is the acces log:


127.0.0.1 - - [19/Jul/2012:16:14:24 +0300] "GET / HTTP/1.1" 200 267 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:24 +0300] "GET /favicon.ico HTTP/1.1" 200 7782 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/ HTTP/1.1" 200 5811 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:32 +0300] "GET /phpmyadmin/favicon.ico HTTP/1.1" 200 18902 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:52 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:52 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:53 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:04 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:04 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:05 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby Altrea » 20. July 2012 14:50

Bughi04 wrote:and Altrea i do feal the need to apologize for the fact that i reposted my post in a different topic :D...

first i thought you want to bug me, like your nickname started :D

Bughi04 wrote:here is the acces log:


127.0.0.1 - - [19/Jul/2012:16:14:24 +0300] "GET / HTTP/1.1" 200 267 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:24 +0300] "GET /favicon.ico HTTP/1.1" 200 7782 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/ HTTP/1.1" 200 5811 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"

up to here all is fine.


Bughi04 wrote:127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:31 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:14:32 +0300] "GET /phpmyadmin/favicon.ico HTTP/1.1" 200 18902 "-" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:16:52:32 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1247 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:52 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:52 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:18:31:53 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:04 +0300] "GET /phpmyadmin/%3C?php%20echo%20$main_target;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:04 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
127.0.0.1 - - [19/Jul/2012:22:37:05 +0300] "GET /phpmyadmin/navigation.php%3C?php%20echo%20$url_query;%20?%3E HTTP/1.1" 404 1257 "http://localhost/phpmyadmin/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"

This is weird. Seems like anything is apending parts of the sourcecode to the url request :shock:
Are you running any url/hyperlink manipulating browser add ons?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6698
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: httpd.exe error

Postby Bughi04 » 20. July 2012 21:07

@Altrea: i wasn't trying to bug you but when i saw my post in xampp for windows i thought i posted my question accidentaly there :)) that is why i posted it back in apache :))))

now about the url/hyperlynks not that i know of ... i have freshly reinstalled my windows before installing xampp... although i did not turn IIS of if that coud be a problem
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: httpd.exe error

Postby Bughi04 » 21. July 2012 14:15

ok interesting :D php my admin works now just fine buut ... when i enter localhost in the web browser it still gives me an error saying that something went wrong with the xampp install
Bughi04
 
Posts: 8
Joined: 19. July 2012 15:10
XAMPP Version: 5.6.3
Operating System: Windows XP

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests