duanjiao4763 2016-12-30 19:59
浏览 60

php .postgres 9.1中的Pg_dump错误

I can not do the backup because windows throws error and I do not know how to solve it I need to backup postgres using php and windows. This is the command used.

**exec('pg_dump --dbname=postgresql://username:root@localhost:5432/sicanar > dbbackup.sql',$output);
print_r($output);**

But windows throws this error

The entry point for the icon_open procedure is not found in the C: \ WINDOWS \ System32 \ libintl.dll library

this error

  • 写回答

1条回答 默认 最新

  • dongxiong4571 2016-12-30 20:11
    关注

    I guess you copied the pg_dump.exe from an installation folder to some other location but did not copy all the dll's it needs. Now windows is trying to find them but find's a wrong version that is missing a function.

    You will very likely need to copy the following dll's from the folder pg_dump was originally in

    postgresql 9.4: intl.dll, libeay32.dll, libintl.dll, libpq.dll, ssleay32.dll and zlib1.dll.

    postgresql 9.5 and 9.6: libeay32.dll, libiconv-2.dll, libintl-8.dll, libpq.dll, ssleay32.dll and zlib1.dll.

    评论

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题