[Phpmyadmin-devel] Problem with allow specifying mime type
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  under the project
> idea of "Displaying query results". I followed some documents,  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  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.
>  http://garv.in/tops/texte/mimetutorial
>  http://www.phpmyadmin.net/documentation/Documentation.html#setup
>  git://github.com/phpmyadmin/phpmyadmin.git
> Regards !
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 . Besides, that version is far too old, current stable is
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 ?
I hope this helps.
More information about the Developers