php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #252 Called from Apache 1.1.1 gives garbled output
Submitted: 1998-04-07 10:11 UTC Modified: 1998-05-15 21:24 UTC
From: piermaria at maraziti dot it Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 3 OS: Linux 1.3.94
Private report: No CVE-ID: None
 [1998-04-07 10:11 UTC] piermaria at maraziti dot it
I called a simple /test.php (with a simple <? echo 'Test! ?> within std HTML headers with lynx and got a garbled output - binary code (it begins with *ELF**** where * are illegible characters.
Calling php directly: php test.php or php < test.php gives correct results.
Perhaps a configuration problem from Apache?
I compiled as a CGI and wrote in srm.conf:
Action php3 /cgi-bin/php
AddHandler php3 php        

Note that I have also mysql and www-sql wich works on sql files with this configuration:
Action www-sql /cgi-bin/www-sql
AddHandler www-sql sql
so I think Apache is working right for Action/AddHandler

Please, help me - I'm sure it is a very stupid error I've done but I can't get it by myself!!!!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-15 21:24 UTC] zeev
The bug is no longer reproduceable.  It was probably
a configuration messup.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 29 02:05:45 2022 UTC