Develop/PHP

[Apache] Server를 비롯한 각종 pre_setting 해주기

시크라기 2013. 11. 14. 09:33

아파치 config파일에서 

php_admin_value auto_prepend_file /path/to/execute/php_file


위와 같이 해주게 되면 php가 로드될때 미리 로드될 파일을 설정 해줄 수 있음.

여기에 auto_prepend_file 대신 다른 naming을 통해 다른 값들을 변경해줄 수 있음.