Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 look for a specific file type in a local or remote server directory using PHP.

791 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