|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-10-06 10:09 UTC] raven at drehmoment dot 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
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