-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error: Class 'PDO' not found... #5786
Comments
|
If the issue indeed isn't related to Composer, I will close. However - the docker image should have pdo enabled and istalled. Looking at phpinfo() i get the following: PDO
pdo_mysql
and when listing composer's installed packages running:
I get the following output:
So as far as i can see, the docker image contains what it necessary. |
Your |
you are not executing the same docker container to show the packages than when running doctrine. So it is possible that you have different extensions in both. |
@stof Good catch. If multiple containers are involved, then this is most likely a pebkac error. We see those all too often ;-) |
@stof It is actually the same container, i rebuilt the whole system so the containers have different ID's in the two posts. Sorry for the confusion though..! @alcohol The image I am using: https://github.com/ngineered/nginx-php-fpm/blob/php7/Dockerfile I also checked the logs after the image was build and there were no errors to be found, so no clues there unfortunately |
You are installing both php5 and php7. That is just asking for trouble. |
@alcohol Are you referring to line 39: "php5-soap " in the Dockerfile? Not sure why it needs to be there. Do you think it is causing troubles? |
My
composer.json
:Output of
composer diagnose
:When I run this command:
I get the following output:
And I expected this to happen:
The Doctrine module should work and return the CLI Interface...
The text was updated successfully, but these errors were encountered: