본문 바로가기

반응형

php.ini

[리눅스] PHP의 설정 파일(php.ini) 위치 찾기 PHP의 설정 파일(php.ini) 위치 찾기 php --ini | grep php.ini $ php --ini | grep php.ini Configuration File (php.ini) Path: /usr/local/apache2/conf Loaded Configuration File: /usr/local/apache2/conf/php.ini 더보기
[PHP] php(php-5.2.8) 설치 php(php-5.2.8) 설치 ver : php-5.2.8 # ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --with-ttf --with-png-dir=/usr --with-zlib-dir --with-jpeg-dir=/usr --with-gdbm=/usr --enable-ftp --enable-mbstring --with-libexpat-dir=/usr --enable-sockets --enable-wddx --with-freetype-dir=/us.. 더보기
[PHP] php 코드에서 date_default_timezone_set() 설정 php 코드에서 date_default_timezone_set() 설정 [PHP Error 코드] [Tue Jan 08 14:47:06 2013] [error] [client 10.0.10.102] PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the.. 더보기
[PHP] PHP Credits 페이지 통제 PHP Credits 페이지 통제 php.ini 파일에서 expose_php = off 로 설정 더보기
[PHP] phpMyAdmin - 오류 phpMyAdmin - 오류 Error MSG : Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. # vi /etc/php.ini session.auto_start = 1 ;default session.auto_start = 0 ;웹서버가 시작함에 따라 자동으로 세션을 시작하기 위해서 위와 같이 설정을 합니다. ; 보통 저부분은 거의 셋팅을 하지않고 코딩시 session_start(); 라고 입력해줍니다. [Solution1] session.save_path = "/tmp" ;default s.. 더보기

반응형