Page 1 of 1

[FIXED]XAMPP 1.6.4 Apache crash

PostPosted: 11. March 2011 01:31
by Bancai
Hi,

So i use XAMPP 1.6.4 so i can follow a tutorial named "beginner php and mysql ecommerce from novice to professional 2nd edition", and i've got to a part where I have a menu, i press on the buttons of the menu and it works for like 3-4 clicks and then apache just crashes(stops). I'm running on Win7 ultimate x64.

Do i have to post some log errors ? like From C:\xampp\apache\logs --> error.log

Code: Select all
[Fri Mar 11 02:29:11 2011] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Mar 11 02:29:11 2011] [notice] Server built: Sep 21 2007 00:29:38
[Fri Mar 11 02:29:11 2011] [notice] Parent: Created child process 2492
[Fri Mar 11 02:29:12 2011] [notice] Child 2492: Child process is running
[Fri Mar 11 02:29:12 2011] [notice] Child 2492: Acquired the start mutex.
[Fri Mar 11 02:29:12 2011] [notice] Child 2492: Starting 250 worker threads.
[Fri Mar 11 02:29:12 2011] [notice] Child 2492: Starting thread to listen on port 443.
[Fri Mar 11 02:29:12 2011] [notice] Child 2492: Starting thread to listen on port 80.
[Fri Mar 11 02:30:08 2011] [notice] Parent: child process exited with status 255 -- Restarting.
Error in my_thread_global_end(): 1 threads didn't exit



Does this do it ?

Re: XAMPP 1.6.4 Apache crash

PostPosted: 11. March 2011 01:58
by Sharley
Bancai wrote:So i use XAMPP 1.6.4
Did you mean 1.7.4 the latest version of XAMPP?

Code: Select all
[Fri Mar 11 02:30:08 2011] [notice] Parent: child process exited with status 255 -- Restarting.
Error in my_thread_global_end(): 1 threads didn't exit
You may find a solution to for the above error message in these Google search results

Re: XAMPP 1.6.4 Apache crash

PostPosted: 11. March 2011 02:53
by Bancai
Sharley wrote:
Bancai wrote:So i use XAMPP 1.6.4
Did you mean 1.7.4 the latest version of XAMPP?

Code: Select all
[Fri Mar 11 02:30:08 2011] [notice] Parent: child process exited with status 255 -- Restarting.
Error in my_thread_global_end(): 1 threads didn't exit
You may find a solution to for the above error message in these Google search results


nope, i really mean 1.6.4 :) ... the book is from 2008 so the xampp version they used in there is from 2008

Re: XAMPP 1.6.4 Apache crash

PostPosted: 11. March 2011 03:00
by Sharley
Error in my_thread_global_end(): 1 threads didn’t exit

It would seem the work-around may be to replace the libmysql.dll in the \xampp\apache\bin folder and/or make sure you don't have a libmysql.dll anywhere else on your PC (in the Windows tree for example) so that the one in XAMPP is the only one that is used.

See the Google results above for the fix details.

Re: XAMPP 1.6.4 Apache crash

PostPosted: 11. March 2011 03:24
by Bancai
Sharley wrote:Error in my_thread_global_end(): 1 threads didn’t exit

It would seem the work-around may be to replace the libmysql.dll in the \xampp\apache\bin folder and/or make sure you don't have a libmysql.dll anywhere else on your PC (in the Windows tree for example) so that the one in XAMPP is the only one that is used.

See the Google results above for the fix details.



Yep,i was looking into those google results, and they didn't specified the apache\bin folder, instead they said the php folder,and i did a search in xampp folder and there are 5 libmysql.dll files in 5 different folders... u saved me :) 10x a lot :)