|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ouslush at myrealbox dot com
New email:
PHP Version: OS:


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


Add a Patch

Pull Requests

Add a Pull Request


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:

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

To see the real file, visit this:
 [2003-03-18 09:21 UTC]
Please try using this CVS snapshot:
For Windows:

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]
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: Thu May 30 07:01:30 2024 UTC