phpize 사용법
페이지 정보
본문
phpize 사용법
paypal 결제 관련해서 curl 을 추가해야 할 일이 생겼다.
configure 옵션에 이제 curl을 추가해둬야겠다.
실제 사용한 history
1089 cd /usr/local/
1090 ls
1091 cd php-5.2.8
1092 ls
1093 cd ext
1094 ls
1095 cd curl/
1096 ls
1097 /usr/local/php/bin/phpize
1098 ./configure --with-php-config=/usr/local/php/bin/php-config --enable-curl
1099 make
1100 make test
1101 make install
1102 ls
1103 pwd
1104 cd /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
1105 ls
1106 cd /usr/local/Zend//etc
1107 vi php.ini
1108 /usr/local/apache/bin/apachectl restart
1109 history
php.ini 추가한 내용
extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/curl.so
phpinfo 에 잘뜬다 ^_^
----------------------------------------------------------
cd /usr/local/src/php-4.4.4/ext/curl
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --enable-curl
make
make test
make install
cd /usr/local/php/lib/
find -name curl.so
==> ./php/extensions/no-debug-zts-20020429/curl.so
cd /usr/local/apache/conf
vi php.ini
extension=/usr/local/php/lib/php/extensions/no-debug-zts-20020429/curl.so
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl startssl
----------------------------------------------------------
paypal 결제 관련해서 curl 을 추가해야 할 일이 생겼다.
configure 옵션에 이제 curl을 추가해둬야겠다.
실제 사용한 history
1089 cd /usr/local/
1090 ls
1091 cd php-5.2.8
1092 ls
1093 cd ext
1094 ls
1095 cd curl/
1096 ls
1097 /usr/local/php/bin/phpize
1098 ./configure --with-php-config=/usr/local/php/bin/php-config --enable-curl
1099 make
1100 make test
1101 make install
1102 ls
1103 pwd
1104 cd /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
1105 ls
1106 cd /usr/local/Zend//etc
1107 vi php.ini
1108 /usr/local/apache/bin/apachectl restart
1109 history
php.ini 추가한 내용
extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/curl.so
phpinfo 에 잘뜬다 ^_^
----------------------------------------------------------
cd /usr/local/src/php-4.4.4/ext/curl
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --enable-curl
make
make test
make install
cd /usr/local/php/lib/
find -name curl.so
==> ./php/extensions/no-debug-zts-20020429/curl.so
cd /usr/local/apache/conf
vi php.ini
extension=/usr/local/php/lib/php/extensions/no-debug-zts-20020429/curl.so
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl startssl
----------------------------------------------------------
- 이전글리눅스 watchdog 설정법 21.02.10
- 다음글[Apache 튜닝]apache prefork 와 worker 방식 21.02.10
댓글목록
등록된 댓글이 없습니다.