[php-4.x.x 의경우 phpize 사용하여 curl 모듈 추가]
php extension 경로 /usr/local/lib/php/extensions
php.ini 경로 /usr/local/Zend/etc/php.ini
php 설치 경로 /usr/local/lib/php
1. php설치 디렉토리로 이동
cd /usr/local/src/php-4.4.7/ext/curl
2. phpize 실행
/usr/local/bin/phpize
3. configure 작업
./configure --with-php-config=/usr/local/bin/php-config --enable-curl
4. make 작업
./make
5. /usr/local/lib/php/extensions 위치에 복사
cp -arp modules/curl.so /usr/local/lib/php/extensions/
cp -arp modules/curl.la /usr/local/lib/php/extensions/
5. php.ini 에 추가 작업
vi /usr/local/Zend/etc/php.ini
extension=/usr/local/lib/php/extensions/curl.so
6. 아파치 재시작
/usr/local/apache/bin/apachectl restart