php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22941 Doesn't work x-httpd-php-source directive in DSO-version of PHP
Submitted: 2003-03-28 14:46 UTC Modified: 2003-04-02 10:26 UTC
From: ogir at yahoo dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.3.1 OS: Linux RH72
Private report: No CVE-ID: None
 [2003-03-28 14:46 UTC] ogir at yahoo dot com
I have compiled perfectly PHP 4.3.1 as shared module of
apache (libphp4.so) on linux rh72, but now I see that no
longer has effect the following Apache directive of php:

        AddType application/x-httpd-php-source .phps

Because when i try to see a http://localhost/anyfile.phps,
the webserver syslog(access_log) , log 10 times the access to that file, but the browser don't display anything, then i try
to test it with "lynx" and this is the result:
---------------------------------------------------------
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://localhost/anyfile.phps'
Alert!: Unable to access document.

lynx: Can't access startfile
---------------------------------------------------------

With my old version of php(4.1.2) doesn't have this problem.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-02 10:26 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jul 04 04:05:46 2022 UTC