Skip to main content

PHP Odbc Segmentation fault

  • February 25, 2014
  • 1 reply
  • 10 views

Suraj_Nayak
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.

Regards,
Suraj Nayak



1 reply

Suraj_Nayak
  • Author
  • New Participant
  • February 26, 2014
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.

Regards,
Suraj Nayak