php 동적모듈추가

소스설치시 소스디렉토리이동

 

/php-5.2.17/ext/soap

/usr/local/php/bin/phpize

./configure –with-php-config=/usr/local/php/bin/php-config

make

 

/usr/local/apache/conf/php.ini 여기에서 extension_dir= 경로로 .so 파일을 복사

 

 

extension=”모듈이름”

 

에효..

3 Comments so far:

  1. master says:

    curl 설치시 php 4.3 버전거지같네 ./configure –with-php-config=/usr/local/php/bin/php-config –enable-curl

  2. master says:

    ./configure –with-php-config=/usr/local/php/bin/php-config –with-mysqli=/usr/local/mysql/bin/mysql_config

  3. master says:

    ./configure –with-php-config=/usr/local/php/bin/php-config –with-mysql-/usr/local/mysql/bin/mysql_config –with-pdo-mysql=/usr/local/mysql –enable-pdo=share

Leave your Comment

Your email address will not be published. Required fields are marked *