编译最新的PHP模块(Postgresql9.01)
cd php-5.3.3cd ext/pgsql
/usr/bin/phpize
./configure --prefix=/usr --with-pgsql=shared,/usr/pgsql-9.0 --with-php-config=/usr/bin/php-config
make
make install
cd ..
cd pdo_pgsql
/usr/bin/phpize
./configure --prefix=/usr --with-pdo-pgsql=shared,/usr/pgsql-9.0 --with-php-config=/usr/bin/php-config
make
make install
重启web服务器就可以看到psql9.01的连接器已经安装好了
页:
[1]