Difference between revisions of "Installation PHP"
Line 1: | Line 1: | ||
− | + | Installation PDO for PHP5 on Ubuntu | |
− | + | ||
− | + | voir surtout [http://lbgi.igbmc.fr/lbgiki/Installation_Ubuntu Installation_Ubuntu sur lbgiki] | |
− | + | ||
+ | # installation php5-dev | ||
+ | # installation postgresql-server-dev-8.1 | ||
+ | # find PHP_ADD_EXTENSION_DEP inside /usr/lib/php5/build/acinclude.m4 (or wherever yours is located) and REMOVE this snippet from that function: | ||
<pre> | <pre> | ||
if test "x$is_it_shared" = "x" && test "x$3" != "xtrue"; then | if test "x$is_it_shared" = "x" && test "x$3" != "xtrue"; then |
Revision as of 16:06, 11 January 2012
Installation PDO for PHP5 on Ubuntu
voir surtout Installation_Ubuntu sur lbgiki
- installation php5-dev
- installation postgresql-server-dev-8.1
- find PHP_ADD_EXTENSION_DEP inside /usr/lib/php5/build/acinclude.m4 (or wherever yours is located) and REMOVE this snippet from that function:
if test "x$is_it_shared" = "x" && test "x$3" != "xtrue"; then AC_MSG_ERROR([ You've configured extension $1, which depends on extension $2, but you've either not enabled $2, or have disabled it. ]) fi
- command: pecl install pdo_pgsql
- In php.ini for cli and apache2: extension=pdo.so and extension=pdo_pgsql.so