I have completely drained all my resources on this little problem. I have to migrate a PHP app from an old Solaris server to new Redhat EL 5 servers.
The RHEL servers are JUST going to be acting as webserver, with PHP as the main language and using FreeTDS to connect to the Sybase DB.
Problem: Under RHEL selecting a TEXT field from the Sybase DB causes an automatic Segmentation Fault in Apache.
I have tried using RPMs for everything, and i have tried compiling everything (Apache2, PHP & FreeTDS) from scratch and I always end up with the same result.
Interestingly, the sybase.dll under Windows works fine on my IIS testbed. I have Ubuntu in a Virtual machine on my laptop that can run the query fine too... And our production setup is Solaris and FreeTDS, and that works fine. I only get this problem under the RHEL servers.
Does anyone have experience using FreeTDS to connect to Sybase successfully on RedHat servers? I am truely at a loss and the FreeTDS mailing list hasn't been too helpful with this issue.
Any, and all help is GREATLY appreciated at this point!