[Phpmyadmin-devel] solution for RedHat 8 (and others) problems

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Wed Mar 5 02:07:10 CET 2003


Rabus wrote:
> Hi Marc and list,
> 
> -----Original Message-----
> From: Marc Delisle
> 
>>We got numerous problems of duplicate field names on table creation.
> 
> 
> Indeed. :-)
> 
> 
>>The default configuration of RedHat 8 has, in
>>/etc/httpd/conf.d/php.conf (comments removed):
>>============
>>LoadModule php4_module modules/libphp4.so
>>
>><Files *.php>
>>     SetOutputFilter PHP
>>     SetInputFilter PHP
>>     LimitRequestBody 524288
>></Files>
>>
>>DirectoryIndex index.php
>>==========
>>
>>and in /etc/httpd/conf/httpd.conf
>>===========
>>AddType application/x-httpd-php .php
>>===========
> 
> 
> This config tells Apache to filter php twice...!
> Good job, Marc!
> 
> 
>>Those 2 kinds of directives, used together, give a conflict
>>with arrays in POST variables, which we use in phpMyAdmin.
>>
>>So, remove the line in httpd.conf, like this:
>>#AddType application/x-httpd-php .php
> 
> 
> Since the AddType directive is the way that is recommended by php, I'd
> rather comment out the "SetOutputFilter" and "SetInputFilter" lines
> instead.

Ok I will document this in a FAQ, with a link on phpmyadmin.net,
and suggest the recommended way.

Marc
> 
> Alexander M. Turek
> <alex at bugfixes.info>
> 
> +-----------------------------+
> | The phpMyAdmin Project      |
> | http://www.phpmyadmin.net   |
> | rabus at users.sourceforge.net |
> +-----------------------------+
> | [bugfixes.info]             |
> | http://www.bugfixes.info    |
> | rabus at bugfixes.info         |
> +-----------------------------+
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
> 






More information about the Developers mailing list