Solved

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

Posted on 2008-10-15
3
474 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
ID: 22722527
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:Marcus Bointon
ID: 22728980
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
ID: 23049058
The solution was that in the control panel of plesk php should be on 4.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

816 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

8 Experts available now in Live!

Get 1:1 Help Now