#19779 [Bgs->Opn]: pspell causes mod_cgi not work

From: Date: Sun, 06 Oct 2002 16:03:59 +0000
Subject: #19779 [Bgs->Opn]: pspell causes mod_cgi not work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21641@lists.php.net to get a copy of this message
ID: 19779 User updated by: raven@drehmoment.org Reported By: raven@drehmoment.org -Status: Bogus +Status: Open -Bug Type: Reproducible crash +Bug Type: *Web Server problem Operating System: debian potato i386 -PHP Version: 4.2.1 +PHP Version: 4.2.3 New Comment: i want to use pspell functions in php. so i installed pspell & aspell, compiled php with "./configure --with-apxs=/usr/bin/apxs --with-pspell". now the pspell functions work, but my mod_cgi not longer (i use php as apache module). if i run the apache with pspell compiled php, a call to an url /cgi-bin/test.pl gives me an internal error in the browser. the apache error log says: [Sun Oct 6 16:19:18 2002] [error] [client 80.135.xxx.xxx] Premature end of script headers: /var/www/cgi-bin/test.pl where test.pl just contains: #!/usr/bin/perl print "Content-type: text/html\n\n"; print "hello\n"; if i compile without pspell ("./configure --with-apxs=/usr/bin/apxs") the call returns "hello" as expected. i have reproduced this bug with php 4.1.2 & 4.2.3. the apache version is 1.3.9 Previous Comments: ------------------------------------------------------------------------ [2002-10-06 10:22:04] sander@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-10-06 10:09:56] raven@drehmoment.org hi, i use php as an apache module. if i compile --with-pspell my perl cgi-bins are not working (i got 500 - internal errors, the log says "premature end of script headers") this error occurs also in php 4.2.3. my configure options are ./configure --with-apxs=/usr/bin/apxs --with-pspell. without pspell cgis working fine. Greetings, Thomas. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19779&edit=1

« previous php.bugs (#21641) next »