Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Fatal error: Class 'PDO' not found problem

New Here ,
Jun 04, 2022 Jun 04, 2022
I've just started using PDO, I'm using dreamweaver 2021 and I'm getting this error, I tried many things, but I couldn't figure out what I did, I would appreciate if you could help.

 

1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2022 Jun 04, 2022

This error reports that the web server was unable to locate a PHP module called “PDO” in the server. Web applications require this PHP module to establish a database connection.

 

Have a look at the compiled mosules list using the phpinfo() function.

 

To do this, create a new file called phpinfo.php and as the only instruction, type `phpinfo()` (without the `) and run the file. This will give you similar to

 

BenPleysier_0-1654407521140.png

 

If you do not see the above, then you will need to go to `php.ini` to enable the extensions.

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 05, 2022 Jun 05, 2022
LATEST

You need a testing server to parse PHP code locally.

Which testing server do you have  -- Xampp, Wamp, Mamp/Mamp Pro?

Did you define the testing server in Dreamweaver?

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines