SOURCES: php-versioning.patch, php4-versioning.patch - add php4/ph...

glen glen at pld-linux.org
Tue Apr 4 01:20:11 CEST 2006


Author: glen                         Date: Mon Apr  3 23:20:11 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add php4/php5 content types, apache1 for now, works without php-modules

---- Files affected:
SOURCES:
   php-versioning.patch (1.1 -> 1.2) , php4-versioning.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/php-versioning.patch
diff -u SOURCES/php-versioning.patch:1.1 SOURCES/php-versioning.patch:1.2
--- SOURCES/php-versioning.patch:1.1	Tue Apr  4 00:52:11 2006
+++ SOURCES/php-versioning.patch	Tue Apr  4 01:20:06 2006
@@ -44,3 +44,15 @@
  	-@$(LIBTOOL) --silent --mode=install cp libphp5.la $(phptempdir)/libphp5.la >/dev/null 2>&1
  
  libtool-sapi: $(LIBTOOL_SAPI)
+--- php-5.1.2/sapi/apache/mod_php5.c~	2006-01-06 20:06:38.000000000 +0200
++++ php-5.1.2/sapi/apache/mod_php5.c	2006-04-04 02:12:59.462271322 +0300
+@@ -930,7 +930,9 @@
+ handler_rec php_handlers[] =
+ {
+ 	{"application/x-httpd-php", send_parsed_php},
++	{"application/x-httpd-php5", send_parsed_php},
+ 	{"application/x-httpd-php-source", send_parsed_php_source},
++	{"application/x-httpd-php5-source", send_parsed_php_source},
+ 	{"text/html", php_xbithack_handler},
+ 	{NULL}
+ };

================================================================
Index: SOURCES/php4-versioning.patch
diff -u SOURCES/php4-versioning.patch:1.1 SOURCES/php4-versioning.patch:1.2
--- SOURCES/php4-versioning.patch:1.1	Tue Apr  4 00:52:11 2006
+++ SOURCES/php4-versioning.patch	Tue Apr  4 01:20:06 2006
@@ -42,3 +42,15 @@
  
  libtool-sapi: $(LIBTOOL_SAPI)
  
+--- php-4.4.2/sapi/apache/mod_php4.c~	2006-01-01 15:47:01.000000000 +0200
++++ php-4.4.2/sapi/apache/mod_php4.c	2006-04-04 02:02:52.348791307 +0300
+@@ -910,7 +910,9 @@
+ handler_rec php_handlers[] =
+ {
+ 	{"application/x-httpd-php", send_parsed_php},
++	{"application/x-httpd-php4", send_parsed_php},
+ 	{"application/x-httpd-php-source", send_parsed_php_source},
++	{"application/x-httpd-php4-source", send_parsed_php_source},
+ 	{"text/html", php_xbithack_handler},
+ 	{NULL}
+ };
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-versioning.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/SOURCES/php4-versioning.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list