Hello, all! I hope this is the appropriate place to post this question.

I have a script that is core dumping when run via the cli. So, in researching it, it seems to be a bug between pgsql and curl. I found the bug here:

http://bugs.php.net/bug.php?id=40926

It recommends a quick fix is to re-order the modules so that the Postgres module is loaded before (and unloaded after) cUrl.

How would I go about doing this? My system is RHEL5 server, running PHP 5.1.6 with pgsql 8.1.11.

TIA!

    In php.ini, move the "extension=" line for pgsql above the one for cURL.

      Thanks for the reply!

      In looking at my php.ini file, I have no references to extension=*. I looked there before I posted.

      What I do see is:

      extension_dir = "/usr/lib64/php/modules"

      In there I see:

      -rwxr-xr-x 1 root root 15416 Sep 30 10:06 phpcups.so
      -rwxr-xr-x 1 root root 337544 Jul 16 19:55 gd.so
      -rwxr-xr-x 1 root root 32344 Jun 12 2008 dbase.so
      -rwxr-xr-x 1 root root 66000 Jun 12 2008 odbc.so
      -rwxr-xr-x 1 root root 24008 Jun 12 2008 pdo_odbc.so
      -rwxr-xr-x 1 root root 28456 Jun 12 2008 pdo_pgsql.so
      -rwxr-xr-x 1 root root 92432 Jun 12 2008 pdo.so
      -rwxr-xr-x 1 root root 102288 Jun 12 2008 pgsql.so
      -rwxr-xr-x 1 root root 50320 Jun 12 2008 ldap.so
      -rwxr-xr-x 1 root root 24200 Jun 12 2008 pdo_sqlite.so

      So how can I reorder them? Is it just a matter of adding the extension line in the PHP ini file?

      TIA!

        Write a Reply...