2013年5月2日 星期四

ubuntu更新從1210 to 1304 結果 phpmyadmin 開啟 一片空白

修改 /etc/php5/apache2/php.ini
line 480 的display_errors = Off  改成   display_errors = On

==>重新執行apache2
==>結果
     PHP Fatal error: require_once(): Failed opening required './libraries/php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 370


==> 修改 /etc/phpmyadmin/apache.conf
    
  <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_admin_flag allow_url_fopen Off
            php_value include_path .
            php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
            php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/
    </IfModule>
 
 reference from http://superuser.com/questions/590208/phpmyadmin-symlinks-error-after-upbuntu-upgrade

沒有留言:

張貼留言