PHP Odbc Segmentation fault

Hi Guys,

I am facing php "Segmentation fault" issue. I am able to connect vertica using php odbc_connect function, while fetching data from table it gives me "Segmentation fault" error.

Able to perform all queries from isql, but php odbc not working.

Running centos 5.9 with php 5.3.

Suraj Nayak


  • Hi,

    It looks some memory issue. just run enabled php zend garbage collection. It's working now.

    export USE_ZEND_ALLOC=0

    But question is why we need to have enable this.

    Same thing is working fine on Vertica's aws ami. There is no problem we face.

    Suraj Nayak

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file