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

Rabus rabus at bugfixes.info
Wed Mar 5 01:33:15 CET 2003


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.

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







More information about the Developers mailing list