PDOException “could not find driver” in php

后端 未结 8 785
误落风尘
误落风尘 2020-12-03 21:11

I have installed Lampp on my linux system, and I am learning symfony2, while trying to create the schema with symfony2 command

php app/console doctrine:sche         


        
8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-03 21:57

    if you are using XAMPP then in php.ini file line no 897(depends on version),

    ;extension=php_pdo_pgsql.dll 
    

    uncomment it , then it appears like below

    extension=php_pdo_pgsql.dll 
    

    in php.ini file line no 897, then restart XAMPP.

提交回复
热议问题