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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: piermaria at maraziti dot it
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC