ITPub博客

首页 > IT职业 > IT图书 > Linux下配置PostgreSQL以及PHP扩展

Linux下配置PostgreSQL以及PHP扩展

IT图书 作者:KingSunSha 时间:2021-09-09 09:18:51 0 删除 编辑

安装之前说先要安装postgresql-devel

yum install postgresql-devel.x86_64

php扩展部分
1、进入php编译目录下的 ext/pgsql/ 下;
2、根据php安装位置 执行 /usr/local/php/bin/phpize;
3、./configure --with-php-config=/usr/local/php/bin/php-config
4、make && make install ;


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/1011/viewspace-2802070/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-15

  • 博文量
    78
  • 访问量
    496