Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mudassar1's avatar

Dreaded DBAL error, driver not found

I am receiving this error when trying to use my project. The issue has only just come up, I had deleted the domain and reinstalled it, followed the same procedure as always to deploy but now get this error. No files have been changed since the previous deployment but it wont let me move any further. I have checked the php.ini, DBAL folder and all files are in the Vendor folder as should be.

I am using windows server 2019, what could be the stems for me to make this correct?

0 likes
3 replies
Mudassar1's avatar

Also, can I say I am such a novice at php it took me 10 minutes to research the answer to the captcha to post this. (create php variable of 'foo'.

siangboon's avatar

perhaps double check the composer.json or do a composer install for the needed/missing packages...

Mudassar1's avatar

@siangboon This is also a step i have taken. Json is all correct, I have cloned and deployed the repo on an ubuntu server with minimal issues. It was also simple to deploy this previously, so I am not sure what has changed.

Just to be safe i did do require doctrine/dbal, however there was no change.

Please or to participate in this conversation.