dragon19720808 2014-07-02 10:56
浏览 52

如何在Linux上的XAMPP中启用PostgreSQL [关闭]

I'm new user of Linux and I have some problem. I don't know how i can enable PostgreSQL in my XAMPP on Linux. I did it on WAMP on WIndows, but i can't do that on Linux. I was searching some informations about it in the internet, but all users show it in Windows. I have already installed PostgreSQL and XAMPP and the server works properly but connection with data base not. Maybe XAMPP isn't the best way to use it? Maybe you can reccomend something else?

  • 写回答

1条回答 默认 最新

  • donglu9825 2014-07-02 13:03
    关注

    XAMPP is a bundle of PHP, Apache, MySQL and Perl.

    It probably doesn't have PHP compiled with PostgreSQL support.

    Rather than using some 3rd party application bundle, I strongly recommend learning how to install things properly, from distro packages. That way you'll get a sensible, co-operating PHP, PostgreSQL, Apache, etc, and you'll get security updates too.

    You didn't mention your distro, but you probably want to look into yum (RHEL/CentOS/Fedora) or apt (Debian/Ubuntu).

    For up to date PostgreSQL release, PostgreSQL publishes distro packages for most distros; see http://yum.postgresql.org/ and http://apt.postgresql.org/ . Or you can use the vendor packages built in to the distro if you don't mind not having the latest.

    评论

报告相同问题?

悬赏问题

  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 MATLAB中streamslice问题
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序