View Single Post
  #6  
Old 8th April 2013, 12:16
8omas 8omas is offline
Senior Member
 
Join Date: Jan 2011
Posts: 140
Thanks: 16
Thanked 35 Times in 26 Posts
Default

Try replacing <IfModue mod_php5.c> (IN the <Directory /usr/share/phpmyadmin> </Directory>) with this

Code:
        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag track_vars On
                php_flag register_globals Off
                php_value include_path .
                php_admin_flag allow_url_fopen Off
                php_admin_value upload_tmp_dir /tmp
                php_value include_path .:/usr/share/php:/usr/share/pear
                php_admin_value open_basedir /usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/tmp
        </IfModule>

so as the result will be sth like this
Code:
 <Directory /usr/share/phpmyadmin>
        Options FollowSymLinks
        DirectoryIndex index.php

        <IfModule mod_php5.c>
                AddType application/x-httpd-php .php

                php_flag magic_quotes_gpc Off
                php_flag track_vars On
                php_flag register_globals Off
                php_value include_path .
                php_admin_flag allow_url_fopen Off
                php_admin_value upload_tmp_dir /tmp
                php_value include_path .:/usr/share/php:/usr/share/pear
                php_admin_value open_basedir /usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/tmp
        </IfModule>

</Directory>
Then restart - reload apache
Reply With Quote