fix mysql error and php-ini