티스토리 뷰



전제조건

php 소스파일 경로 : /usr/local/src/php-5.6.31

php 설치된 경로 : /usr/local/php

mariadb 설치된 경로 : /usr/local/mariadb  (http://88oy.tistory.com/383)



pdo_mysql 설치하기

cd /usr/local/src/php-5.6.31/ext/pdo_mysql

/usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mariadb

make

make install

Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/

pdo_mysql.so 가 드디어 생성되었다... ㅎㄷㄷ


pdo_mysql 설치하기

cd /usr/local/src/php-5.6.31/ext/mysqli

/usr/local/php/bin/phpize

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

make

make install


참고1 : http://www.programkr.com/blog/McTO3ADMwYTy.html

참고2 : http://igoto.x-y.net/xe/linux/247

참고3 : http://okkks.tistory.com/1069

참고4 : https://tocup.net/xe/tech/59503

참고5 : http://php.net/manual/kr/ref.pdo-mysql.php

참고6 : https://opentutorials.org/module/1272/8250


댓글
댓글쓰기 폼
공지사항
Total
749,017
Today
53
Yesterday
212
«   2019/10   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
글 보관함