Solved

Error in my_thread_global_end(): 1 threads didn't exit (Using Mac os X)

Posted on 2008-10-15
3
470 Views
Last Modified: 2013-12-13
Using PHP 5.2.4 on Mac OS X. Using database in Plesk 8.2.0, now web pages result in the following error.

Error in my_thread_global_end(): 1 threads didn't exit

Im aware that this is a bug and if i replace the copy with the one from 5.2.1, then the problem should go away. But how do i do that on a mac? It doesnt have a libmysql.dll library. Im lost. Do i change something on my mac or server?

Please help.
0
Comment
Question by:kaz0161
  • 2
3 Comments
 

Author Comment

by:kaz0161
Comment Utility
Ive ran the php info file. (Its actually php 5.2.3) and thay say register globals are turned off. Im looking for answers to turn them on but im getting stuff to do with php ini and .htaccess files which doesnt really say what to do. Can someone go through a step by step please.
0
 
LVL 25

Expert Comment

by:Squinky
Comment Utility
You can try reinstalling MySQL with an installer from mysql.com. That should replace the library. php.ini is usually in /etc/php.ini (actually aliased form /private/etc/php.ini on OS X), though you can check where it is for you by running phpinfo() or 'php -i' from a command line. Rebuilding PHP on OS X is extremely complicated these days, so you may be better off simply replacing the whole stack using XAMPP. Anything that wants register_globals turned on is either wrong or badly coded. You should not turn it on.
0
 

Accepted Solution

by:
kaz0161 earned 0 total points
Comment Utility
The solution was that in the control panel of plesk php should be on 4.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now