hello there,
I have Fedora Core1 and upgraded to the following packages
httpd-2.0.48-xx
php-4.3.4-xx
php-odbc-4.3.4-xx
MySQL-server-4.x
MySQL-Max-4.x
MySQL-client-4.x
MYSQL-devel-4.x
MyODBC-3.51.x (compiled from source)
--with-unixODBC=/usr/local/lib --with-odbc-ini=/etc/odbc.ini --enable-thread-safe
I can connect via isql
#isql myDSN myUser myPassword -v
I can also connect via mysql
#mysql -u myUser -pmyPassword
But I cannot do it with a simple script in PHP
<?php
echo "<html>";
echo "<body>";
$pconnect = odbc_connect("myDSN","myUser","myPassword");
odbc_close($pconnect);
echo "success on connect. . . .";
echo "</body>";
echo "</html>";
?>
The browser just display a status message "Done" but does not even refresh the page. I checked the error_log file and found out that there is a segmentation fault.
Any solution to this problem?
Thanks in advance.
nbjayme
The browser