How to fix pdo class not found error

Recently, I encountered “pdo class not found” error, while I was installing NextCloud. After searching a lot, the solution was pretty simple. If you are using WHM Go to Easy Apache 4, In the Currently Installed Packages section, click on the Customize button. Click on the PHP Extensions option from the left. In the Search field, type to enter ‘pdo‘. Click the toggle button(s) next to the PHP version(s) that you would like the PHP extension installed for. Click the Review option from the left. Confirm the options you selected are listed under the ‚ÄúPlease review the following list of packages you are about to install by provisioning this...

Read More