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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC