Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Never heard or experienced such problem. Windows user right? If yes, I am not surprised. PHP on Windows is a total mess.
-
@lamka02sk nope, linux (and a couple attempts on mac too).
Should be linked to the pdo, but the weird part is that I am using sqlite, so it should be installed already and `php -m` says that the modules for pdo and pdo_sqlite are enabled, it's so odd... -
@piratefox Strange. I assume you are using either Apache or Nginx? If so, running command php -m may say it is enabled, but it could be enabled only for CLI and not for apache or fpm.
-
Panni1414yMaybe your CLI's environment is different from the webserver's - happened to me many times…
Try getting the installed modules via phpinfo() instead of using php -m in the CLI. -
Offtopic, but "Yesterday I have been working on stuff" is just as wrong as "Tomorrow I was a taxi driver".
-
@electrineer yikes! You are right, I was going to write "recently" instead of "yesterday", I guess I had a brain fart :s
But thanks for pointing out, as a non-native speaker sometimes I do very silly mistakes which I don't realize 😅
(E.g. I used to say "people which (...)" All the time before someone made me notice it was wrong)
Related Rants
So, yesterday I have been working on a php project (commitent asked for it to be php) and I spent the whole day trying to solve a "driver issue" exception.
I previously worked on various WordPress projects as a freelancer, so I should be fine, right?
I couldn't fix it in the whole day, tried all the solutions on google up to the 5th page, searched around stack overflow etc, and the error message is just "driver not found"... Gee php, thanks for the details! I am sure it will come out it's something small and easy, but I have learned enough about php and I want to stay as far away away from it as possible.
rant
php
pdo
wtf