[Phpmyadmin-devel] Problem with allow specifying mime type

Dieter Adriaenssens dieter.adriaenssens at gmail.com
Fri Mar 9 12:59:22 CET 2012


Op 8 maart 2012 05:01 heeft Chanaka Dharmarathna
<pe.chanaka.ck at gmail.com> het volgende geschreven:
> Hi Michal,
>
>                I'm trying on the feature requested in [1] under the project
> idea of "Displaying query results". I followed some documents[2], [3] in
> order to do some improvements related to that feature. I'm working on Ubuntu
> environment. I have already installed phpMyAdmin 3.3.2 version (Which have
> the special features like Mime type, pdf generations etc ) and to developing
> purpose I got a latest revision from [4] repository url.
>
>      I introduced a file config.inc.php under root directory (
> phpmyadmin_dev/config.inc.php ) with the additional server configurations
> which needs to enable special features such as Mime type etc. I tried with
> placing the contents of phpmyadmin_dev/config.sample.inc.php as well as
> /etc/phpmyadmin/config.inc.php (older version configure file) into new file.
> But after restarting the apache, any change doesn't appear while creating a
> new table structure. So if you can give any suggestions to overcome this
> problem, it will be a great help for me to do some improvements on this
> feature. All are well come to give your valuable suggestions.
>
>
> [1]
> http://sourceforge.net/tracker/index.php?func=detail&aid=3112137&group_id=23067&atid=377411
> [2] http://garv.in/tops/texte/mimetutorial
> [3] http://www.phpmyadmin.net/documentation/Documentation.html#setup
> [4] git://github.com/phpmyadmin/phpmyadmin.git
>
>
> Regards !
> --

Hi,

Don't bother with the 3.3.2 release of phpMyAdmin. As a developer it
is more convenient to use the git repository and the different
branches [0]. Besides, that version is far too old, current stable is
3.4.10.1.

Putting the config.inc.php in the phpmyadmin root dir should work. By
default it works even without (if you have local MySQL server
running), but for more advanced settings you need one, of course.
Maybe you can try a setting in your config file that's immediatly
visible, like defining a second database server (can be a dummy one).
BTW : Restarting apache is not necessary to use a new config setting,
refreshing or loading a new page is sufficient because the configfile
is read on every page load.

Did you have a look at the Transformations section of the documentation [1]?

I hope this helps.

[0] http://wiki.phpmyadmin.net/pma/Git
[1] http://www.phpmyadmin.net/documentation/#transformations

-- 
Kind regards,

Dieter Adriaenssens




More information about the Developers mailing list