.htaccess 에서 지정가능한 PHP 변수

페이지 정보

profile_image
작성자 로빈아빠
댓글 0건 조회 7,806회 작성일 13-07-05 16:22

본문

Most settings that you would place in your php.ini can also be placed in a .htaccess or in the apache configuration for that site. For example one of my virtual hosts has this in the .htaccess

    php_value display_errors 1
    php_value register_globals 0
    php_value short_open_tag 0
    php_value magic_quotes_runtime 0
    php_value magic_quotes_gpc 0
    php_value session.name "PHPSESSID_SITEBLAH"
    php_value session.gc_maxlifetime 57600
    php_value session.gc_probability 1
    php_value session.gc_divisor 500

댓글목록

등록된 댓글이 없습니다.