1. php 소스만 보임
php.ini
short_open_tag = off
short_open_tag = On 으로 변경
2. 접속불가 403에러
selinux disabled
3. phpmyadmin error
[:error] [pid 10347] [client 192.168.137.1:49538] PHP Fatal error: Call to undefined function __() in /usr/share/phpMyAdmin/libraries/core.lib.php on line 245
해결 !
1) open the file : /usr/share/phpmyadmin/libraries/core.lib.php
2) Add the below lines instead of 224-229
if (!function_exists('__')) {
include_once GETTEXT_INC;
if (defined(GETTEXT_INC)) {
include_once GETTEXT_INC;
} else {
include_once './libraries/php-gettext/gettext.inc';
}
}
4. phpmyadmin 페이지
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
<? phpinfo; ?> -> session.save_path 검색
/var/lib/php/session 폴더의 퍼미션 변경
# chmod 777 /var/lib/php/session
'정리 > 시스템' 카테고리의 다른 글
리턴메일 - 발송 실패 에러 메시지 (0) | 2017.01.02 |
---|---|
centos 7 - firewalld (0) | 2016.12.28 |
Docker (0) | 2016.12.27 |
가상화기술 (0) | 2016.12.26 |
기술 (0) | 2016.12.24 |
댓글