php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22755 PHP Source partially displayed
Submitted: 2003-03-17 20:45 UTC Modified: 2003-03-24 04:18 UTC
From: ouslush at myrealbox dot com Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.3.1 OS: Gentoo Linux 1.4rc3
Private report: No CVE-ID: None
 [2003-03-17 20:45 UTC] ouslush at myrealbox dot com
In httpd.conf I have configure apache to treat .phps files to be parsed as php source by php:

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

When I view a .phps file in the web browser, the code is not completely highlighted.  It parses about 80-90% of the code and seems to just cut off the last part of the code.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-17 20:54 UTC] ouslush at myrealbox dot com
Apache v1.3.27 was the version of apache used. I compiled both PHP and Apache from sources:

Apache: ./configure --enable-module=so
PHP: ./configure --with-xml --with-mysql --with-apxs=/path/to/apxs

The problem also existed in Debian woody 3.0.
 [2003-03-17 22:08 UTC] ouslush at myrealbox dot com
The problem still persists. I can only keep this up temporarily:

http://sleek.etowns.net/index.phps

You'll notice that it doesn't finish parsing the whole file.

To see the real file, visit this:

http://sleek.etowns.net/index.txt
 [2003-03-18 09:21 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

I see the problem on your server, however the very same script works fine (shows complete source) on my test server running 4.3.2-RC1
 [2003-03-24 04:18 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 12:01:27 2024 UTC