Divi WordPress Theme

Topic: Class 'PDO' not found when uploading laravel website  (Read 3294 times)

Offline Rick

  • New Member
  • *
  • Posts: 27
  • iTrader: +0/-0
    • View Profile
Class 'PDO' not found when uploading laravel website
« on: July 31, 2019, 04:03:57 PM »
Hi,

I have uploaded website in my cPanel account which is built using PHP Laravel. It is working fine in my local development but it is not working when I uploaded to live website. It is giving following error:

Class 'PDO' not found

How can I fix this error?

Thanks!
Rick
VPS Hosting - AccuWebHosting

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 619
  • iTrader: +153/-0
    • View Profile
Re: Class 'PDO' not found when uploading laravel website
« Reply #1 on: July 31, 2019, 04:46:14 PM »
You are receiving this error because PHP PDO extension in missing on your server. You should contact your hosting provider to enable PHP PDO extension if there is no option available in your cPanel. Once it is enabled, you should not receive this error.

- Kailash
Shopify Divi WordPress Theme
Tags: php pdo pdo php