|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
35 - 29 = ?
Subscribe to this entry?

 [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!!!!


Add a Patch

Pull Requests

Add a Pull Request


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-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 22:01:28 2024 UTC