• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Forum Membership

Forum Membership

Class 'PDO' not found when uploading laravel website

Started by Rick, July 31, 2019, 04:03:57 PM

Rick

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

Kailash

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