?
Solved

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

Posted on 2008-10-15
3
Medium Priority
?
483 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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Suggested Courses

621 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