Results 1 to 5 of 5

Thread: Php Error : This application has failed to start because libpq.dll was not found.

  1. #1
    Join Date
    Jul 2009
    Posts
    96

    Php Error : This application has failed to start because libpq.dll was not found.

    Hi,

    I have just downloaded PHP 5.2.6 and installed it from the zip archive. I have just downloaded PHP 5.2.6 and installed it from the zip archive. After installation, It gave me an error message : This application has failed to start because libpq.dll was not found. Re-installing the application may fix this problem. What is libpq.dll exactly? Anyone have any ideas?

  2. #2
    Join Date
    May 2008
    Posts
    335

    Re: Php Error : This application has failed to start because libpq.dll was not found.

    This seems to be a PHP installation issue. At least some of the mistakes of others seem extensions could not be loaded, but the main problem is probalby the php5.dll missing. I would suggest uninstalling and reinstalling PHP without the installer. You can find a useful resources for the installation / configuration of PHP on the site http://php.net. You have to edit the php.ini file and configure IIS to run PHP.

  3. #3
    Join Date
    May 2008
    Posts
    279

    Re: Php Error : This application has failed to start because libpq.dll was not found.

    To remove error : This application has failed to start because libpq.dll was not found. Logged in as administrator and try installing PHP 5.2.6 by following steps

    1. Download php-5.2.6-win32-installer
    2. Open containing folder
    3. Double-click php-5.2.6-win32-installer
    4. Defaults used
    5. Tried every server type.
    6. Got error

    Error trying access httpd.conf. You will have to manually
    web server config.

  4. #4
    Join Date
    May 2008
    Posts
    686

    Re: Php Error : This application has failed to start because libpq.dll was not found.

    It seems as if PostgreSQL is not installed correctly. Can you get to the database with the plain old 'psql' utillity? libpq is a required library for postgres. Moreover, as far as postgres drivers, I imagine most people are using psycopg2 instead of pyPgSQL, since it is more active.

  5. #5
    Join Date
    May 2008
    Posts
    194

    Re: Php Error : This application has failed to start because libpq.dll was not found.

    The above errors were the root of my cause, but while in my attempts to reinstall the missing FastCGI PHP. I reinstalled php configured for FastCGI.

    After much research and fix my second mistake, I noticed that .Dll's have only installed by other applications. For example, the OIC had been there only if the machine had Oracle and so on. After a little trial and error commenting extensions in php.ini, I have it working

Similar Threads

  1. Replies: 4
    Last Post: 07-08-2011, 05:40 AM
  2. Replies: 5
    Last Post: 02-11-2009, 07:36 PM
  3. Replies: 3
    Last Post: 27-10-2009, 06:17 PM
  4. Replies: 3
    Last Post: 04-09-2009, 06:45 AM
  5. application failed to start because oart.dll was not found
    By N I C K in forum MS Office Support
    Replies: 1
    Last Post: 11-09-2008, 04:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,958,042.06761 seconds with 16 queries