Solved

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

Posted on 2008-10-15
3
472 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

948 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

22 Experts available now in Live!

Get 1:1 Help Now