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 653969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:26:30+00:00 2026-05-13T22:26:30+00:00

We use Windows for our development systems. I am installing PHP, Apache, MySQL manually.

  • 0

We use Windows for our development systems. I am installing PHP, Apache, MySQL manually. All from zip packages. Now:

If I use php thread safe binaries:
pdo_mysql fails to load when executing php.exe from command line. I get the following warning:

PHP Warning:  PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

I checked our RHEL production server, there php thready safety is disabled. So I downloaded not thread safe binaries from here.

Now, I hit another problem: Apache is failing to start. The error.log says:

[Thu Mar 04 13:54:08 2010] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.
Pre-configuration failed
[Thu Mar 04 13:54:08 2010] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request.  : winnt_accept: Asynchronous AcceptEx failed.

How do I install php with support for pdo_mysql in Windows? So, that the command line php.exe works?

Note: In the thread-safe binary, although php.exe was not loading pdo_mysql, the PHP API was able to load it. Because in phpinfo, it was appearing.

  • 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. Editorial Team
    Editorial Team
    2026-05-13T22:26:31+00:00Added an answer on May 13, 2026 at 10:26 pm

    Sorry! It was stupid.
    I figured out this was the problem:
    Apache was using the thread-safe SAPI. The command line was using the php.exe supplied by Zend Core!

    I reconfigured the “PATH” environment variable: so now it points to the php.exe in the thread safe package. Issues solved.

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

Sidebar

Related Questions

I do mostly Windows development. We use Mantis and Subversion for our development but
In our development environment we use Windows, Mac, and Linux. I am having trouble
Apparantly when users right-click in our WPF application, and they use the Windows Classic
I am creating a Windwos Installer project just for the use of installing our
Our current development environment at work is Windows XP pro. It is a fine
I have a PC for Windows development and Linux box for Android development. Our
I have been developing our php based site on a development box that was
Now that Windows Mobile development has come to end what should we do with
I use Windows Vista and I was wondering if there was a shortcut to
I use Windows 7(64bit) and repeat steps in Google Document . This is what

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.