1. Apache에 rewrite 모듈 설치
# /usr/local/apache/bin/apachectl -M \\ rewrite 모듈 없는 것 확인 Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_event_module (static) authn_file_module (shared) authn_core_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_core_module (shared) access_compat_module (shared) auth_basic_module (shared) reqtimeout_module (shared) filter_module (shared) mime_module (shared) log_config_module (shared) env_module (shared) headers_module (shared) setenvif_module (shared) version_module (shared) unixd_module (shared) status_module (shared) autoindex_module (shared) dir_module (shared) alias_module (shared) php5_module (shared) # vi /usr/local/apache/conf/httpd.conf \\ 아랫줄 추가
# /etc/init.d/apachectl restart |
2. 설치확인
# /usr/local/apache/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_event_module (static) rewrite_module (shared) authn_file_module (shared) authn_core_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_core_module (shared) access_compat_module (shared) auth_basic_module (shared) reqtimeout_module (shared) filter_module (shared) mime_module (shared) log_config_module (shared) env_module (shared) headers_module (shared) setenvif_module (shared) version_module (shared) unixd_module (shared) status_module (shared) autoindex_module (shared) dir_module (shared) alias_module (shared) php5_module (shared) |
1. PHP에 soap설치
# /usr/local/php/bin/php -m \\ soap 모듈 없는 것 확인 [PHP Modules] bz2 calendar Core ctype curl date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv imap json libxml mbstring mcrypt mhash mysql openssl pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML sockets SPL SQLite sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib [Zend Modules] # cd /usr/local/src/php-5.3.21/ext/soap/ # /usr/local/php/bin/phpize # ./configure --enable-soap --with-php-config=/usr/local/php/bin/php-config # make # cp -arp modules/soap.so /usr/local/php/lib # vi /usr/local/apache/conf/php.ini \\아랫줄 추가
# /etc/init.d/apachectl restart |
2. 설치확인
# /usr/local/php/bin/php -m [PHP Modules] bz2 calendar Core ctype curl date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv imap json libxml mbstring mcrypt mhash mysql openssl pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML soap sockets SPL SQLite sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib [Zend Modules] |
'서버 & 시스템 > Linux' 카테고리의 다른 글
MySQL root 비밀번호 초기화 (0) | 2017.10.05 |
---|---|
rsync 사용하기 (0) | 2017.10.05 |
Centos 6 APM 설치 (apache, php, mysql) (0) | 2017.10.03 |
특정 IP만 SSH접속 허용하기 (0) | 2017.09.18 |
hostname, resolv.conf 설정 (0) | 2017.09.18 |