Bug #18397 Updated: Unable to do PHP source view (PHPS)

From: Date: Wed, 17 Jul 2002 22:12:51 +0000
Subject: Bug #18397 Updated: Unable to do PHP source view (PHPS)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14466@lists.php.net to get a copy of this message
ID: 18397 Updated by: robbat2@orbis-terrarum.net Reported By: robbat2@orbis-terrarum.net Status: Verified Bug Type: Apache2 related Operating System: Linux-2.4.18-rc1-ac6 PHP Version: 4.3.0-dev New Comment: I'll see about hacking on the code for it this evening and tommorow morning and submiting a patch afterwards. Thanks for the help Jani. Previous Comments: ------------------------------------------------------------------------ [2002-07-17 18:10:41] sniper@php.net ETA? heh..no such thing exists here..this is opensource project. :) About implementation..I guess it should work same as with the 1.3.x apache SAPI.. ------------------------------------------------------------------------ [2002-07-17 18:07:03] robbat2@orbis-terrarum.net Is there either an ETA for it or some implementation suggestions for writing it myself? ------------------------------------------------------------------------ [2002-07-17 17:58:17] sniper@php.net It does not work as it hasn't been implemented yet. ------------------------------------------------------------------------ [2002-07-17 17:56:38] robbat2@orbis-terrarum.net Side note on this, I just reproduced it on Linux-2.4.18, with a slightly older CVS of PHP and Apache2.0.39. ------------------------------------------------------------------------ [2002-07-17 17:54:48] robbat2@orbis-terrarum.net I just commented out my previous PHP lines, and put in this: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps To test for certain again, and although regular PHP works with the AddType directive, the directive containing php-source seems to do nothing at all. I use the Set[Input/Output]Filter PHP commands because I use a chain of content handlers in some other parts of my server (namely PHP+SSI), so just the having the AddType method fixed would not be enough, as I need an Filter instead. For testing purposes, here are some PHP pages I'm working on: http://robbat2.matchbox.research.techbc.ca/sqlparse.php http://robbat2.matchbox.research.techbc.ca/sqlparse.phps (In case you are wondering about them, I'm a core developer on phpMyAdmin) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18397 -- Edit this bug report at http://bugs.php.net/?id=18397&edit=1

« previous php.bugs (#14466) next »