Integration of postgreSQL on WAMP

后端 未结 7 1458
故里飘歌
故里飘歌 2021-02-02 00:52

I have just installed the postgreSQL on windows 7. I am trying to integrate postgreSQL with WAMP server. For this i have done the following changes in httpd.conf and php.ini fi

7条回答
  •  忘掉有多难
    2021-02-02 01:28

    1. After Enabling Postgresql extension from WAMP icon i was able to get postgresql admin page but bin/cake bake all command was failing with error 'php extn missing'. (referred @rails_id's post below to complete postgresql integration with WAMP)

    2. checked in cmd prompt with php -m, no "postgresql" module was present.

    3. Went to php installation directory, in my case it was "C:\wamp64\bin\php\php7.2.10" and enabled (removed the ;) following pg module in php.ini file:

      extension=pdo_pgsql extension=pgsql

    4. restarted the wamp services.

    5. bin/cake bake all is working fine from command prompt.

提交回复
热议问题