Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 73431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:12:02+00:00 2026-05-10T20:12:02+00:00

When running PHP in CLI mode, most of the time (not always), the script

  • 0

When running PHP in CLI mode, most of the time (not always), the script will hang at the end of execution for about 5 seconds and then output this:

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

It doesn’t seem to actually have any effect on the script itself.

Some web searches turned up blogs which suggest replacing the php_mysql.dll with a different version, however this has not solved the issue for me, and I suspect the info from those blogs is now out of date.

My setup:

  • PHP Version 5.2.4
  • Apache/2.2.4 (Win32)
  • Windows Vista Home Premium SP1
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:12:02+00:00Added an answer on May 10, 2026 at 8:12 pm

    This is a known bug with some of the PHP 5.2.X version in the windows fast-cgi implementation

    http://bugs.php.net/bug.php?id=41350&edit=1

    I have encountered this bug before and downgrading my PHP install to 5.2.0 solved the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a php script that is running in CLI and I want to
I have a PHP script launched from a command-line (aka CLI mode, no webserver
Right now I'm running 50 PHP (in CLI mode) individual workers (processes) per machine
I'm running a php script via cli, so it can run in background. This
I am running a php script from CLI command and web browser. I need
I'm running a PHP script from CLI interface. How can I get the running
I'm running a PHP script from CLI that user the DirectoryIterator::getExtension() method in PHP.
I am running 30 scripts (PHP CLI) on Linux , each script are updating
In crontab, I have added a php script name, running this script from CLI
I'm trying to invoke a long-running shell command inside a PHP CLI script with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.