ID:               15578
 Updated by:       [EMAIL PROTECTED]
-Summary:          PHP Causes Apache segmentation when using FreeTDS
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         MSSQL related
-Operating System: Linux Red Hat 7.1
+Operating System: Linux Red Hat 7.2
-PHP Version:      4.1.1
+PHP Version:      4.1.2
 New Comment:

Okay well now I upgraded to apache 1.3.20, and php 4.1.2 and freetds
0.53, I don't even get as far as the segmentation fault anymore because
after compiling PHP with:
./configure --with-apxs --with-sybase=/usr/local/freetds --with-pspell
and make and make install, apache doesn't seem to be running anymore, I
do /etc/rc.d/init.d/httpd restart and the following message appears:
Starting httpd: Syntax error on line 260 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: dbdead    [FAILED]

I could not find a way to solve this problem.


Previous Comments:
------------------------------------------------------------------------

[2002-02-25 14:44:25] [EMAIL PROTECTED]

Well I tried the same thing with another configuration and it seemed to
be working so I think it might be an apache related problem.

I will upgrade to the latest version of Apache in the next week or so
so I will get a backtrace then if the problem persists.

Thank you.

------------------------------------------------------------------------

[2002-02-15 16:05:45] [EMAIL PROTECTED]

To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".

------------------------------------------------------------------------

[2002-02-15 15:16:45] [EMAIL PROTECTED]

Hi,

I need to access a MS-SQL server 2000 from a linux RH7.1 box running
PHP 4.1.1 compiled with the following options:
./configure --with-sybase=/usr/local/freetds --with-apxs
And freetds installed from RPM (but I also tried with the source and it
didn't work either... tried FreeTDS from CVS as well). and apache
1.3.19.
PHP seems to be working fine and phpinfo(); seems fine...
Whenever I load a PHP script that uses any mssql_* function, the page
cannot load "The page cannot be displayed"...
When I check apache's error log, it reports Segmentation Fault on child
process.
I tried with different versions of PHP and it always crashes the same
way but the Perl applications using FreeTDS to connect to the same
server work just fine so it probably is a problem related to PHP.

Any input ?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15578&edit=1

Reply via email to