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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T04:27:19+00:00 2026-05-21T04:27:19+00:00

I have a script which uses __autoload() to load classes (stupid, I know, this

  • 0

I have a script which uses __autoload() to load classes (stupid, I know, this is old code I used to use for fun / testing), and it seems to be trying to autoload PDO. This leads me to believe that it’s not finding the PDO class it should be. I have checked php.ini and php_pdo.dll is enabled, along with php_pdo_mysql.dll, etc. The .dll files exist in “ext/” and I’ve restarted the web server numerous times.

I don’t have much experience with IIS, but I’ve never had this issue on Linux, so I’m not sure what the issue is.

Any help would be greatly appreciated.

EDIT: PDO is not in phpinfo(). I know it’s not loaded correctly, I’m trying to figure out why. Here is my php.ini file: php.ini on Pasebin

C:\Program Files (x86)\PHP\ext is the extension directory, and listed as such in php.ini and phpinfo().

  • 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-21T04:27:19+00:00Added an answer on May 21, 2026 at 4:27 am

    One thing I find odd is that you are specifying the extension in the [PDO] section. I’m not aware of this kind of notation – my Windows php.ini doesn’t do that. It could be that the line gets ignored because it gets interpreted as PDO.extension which doesn’t make sense.

    What happens if you move the extension=php_pdo.dll bit into the main body of the INI file (outside any [] section)?

    If that doesn’t change anything:
    Are you 100000% sure you are editing the correct php.ini?

    With the extension specified in the file, PHP should either crash when you restart the server, or give you the PDO class.

    Check phpinfo() to see which ini file is being used exactly.

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

Sidebar

Related Questions

I have this part of script from my GAE application which uses webapp2, which
I have a Python script which uses the MySQLdb interface to load various CSV
I have a script which uses grep to output like this: 12 Apples 10
I have put together this little script which uses a list of words to
I have a php script which uses this below when a user uploads a
I am having an annoying issue. I have a script which uses the $_GET
I'm using emacs and I have written a script which uses current-buffer. However the
Scenario 1: I have one wrapper Perl script which uses another Perl module and
In my Python script which uses Curses, I have a subwin to which some
I have written a news scroller which uses the Prototype and Script.aculo.us libraries to

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.