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

Marc Delisle DelislMa at CollegeSherbrooke.qc.ca
Tue Mar 4 17:51:19 CET 2003


Hi,

We got numerous problems of duplicate field names on table creation.

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
===========

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

and restart Apache.

Marc Delisle






More information about the Developers mailing list