sitelink1 http://php.net/manual/kr/pdo.installation.php 
sitelink2  
extra_vars5  
extra_vars6  

Installing PDO on Unix systems

  1. PDO and the PDO_SQLITE driver is enabled by default as of PHP 5.1.0. You may need to enable the PDO driver for your database of choice; consult the documentation for database-specific PDO drivers to find out more about that.

    Note:

    When building PDO as a shared extension (not recommended) then all PDO drivers must be loaded after PDO itself.

  2. When installing PDO as a shared module, the php.ini file needs to be updated so that the PDO extension will be loaded automatically when PHP runs. You will also need to enable any database specific drivers there too; make sure that they are listed after the pdo.so line, as PDO must be initialized before the database-specific extensions can be loaded. If you built PDO and the database-specific extensions statically, you can skip this step.

    extension=pdo.so
    

Windows users

  1. PDO and all the major drivers ship with PHP as shared extensions, and simply need to be activated by editing the php.ini file:

    extension=php_pdo.dll
    

    Note:

    This step is not necessary for PHP 5.3 and above, as a DLL is no longer required for PDO.

  2. Next, choose the other database-specific DLL files and either use dl() to load them at runtime, or enable them in php.ini belowphp_pdo.dll. For example:

    extension=php_pdo.dll
    extension=php_pdo_firebird.dll
    extension=php_pdo_informix.dll
    extension=php_pdo_mssql.dll
    extension=php_pdo_mysql.dll
    extension=php_pdo_oci.dll
    extension=php_pdo_oci8.dll
    extension=php_pdo_odbc.dll
    extension=php_pdo_pgsql.dll
    extension=php_pdo_sqlite.dll  
    

    These DLLs should exist in the system's extension_dir.

Note:

Remember that after making changes to your php.ini file you will need to restart PHP for your new configuration directives to take effect.

번호 제목 글쓴이 날짜 조회 수
53 톰캣과 방화벽 file 황제낙엽 2019.09.17 263
52 안전한 웹사이트 설정하기 (.htaccess 및 .htpasswd 사용법) 황제낙엽 2019.07.21 357
51 IIS 시작,정지,재시작 file 황제낙엽 2019.05.10 574
50 [AutoSet] SSL 적용가이드 (https) 황제낙엽 2019.04.22 551
49 SSL, Https를 위한 인증서 발급 황제낙엽 2019.02.20 218
48 Apache2.4 성능 개선 (아파치 공식사이트 제공) 황제낙엽 2018.09.18 198
47 [AutoSet] 오토셋 소개 및 설치파일 file 황제낙엽 2018.08.25 836
46 [APMSETUP] 설치파일 file 황제낙엽 2018.08.25 841
45 톰캣 한글 깨짐, UTF-8 인코딩 설정[2] file 황제낙엽 2018.08.23 1291
44 톰캣 한글 깨짐, UTF-8 인코딩 설정[1] [1] file 황제낙엽 2018.08.23 3640
43 이클립스는 괜찮은데 톰캣에서만 한글깨짐 (윈도우 콘솔의 다국어 인코딩 포함) file 황제낙엽 2018.08.23 3172
42 캐시 여유 공간 부족 (insufficient free space) 해결 황제낙엽 2018.03.16 4436
41 무설치 포터블(portable) 톰캣을 윈도우 서비스로 등록하기 황제낙엽 2017.11.07 482
40 [APMSETUP] 에서 root 암호 분실시 초기화 방법 황제낙엽 2017.04.06 2503
39 구버전의 톰캣 실행하기 황제낙엽 2017.03.22 246
38 Tomcat 8에 SSL 인증서를 적용 황제낙엽 2016.12.23 1775
» Database Extensions 추상 레이어 PDO 설치/설정 황제낙엽 2016.07.27 512
36 Apache Error : winnt_accept: Asynchronous AcceptEx failed 황제낙엽 2016.06.15 596
35 Windows에서 Apache(2.2.25)/PHP(5.4)/MYSQL(5.6.24) 설치 황제낙엽 2015.05.16 703
34 [APMSETUP7] PHP version upgrade (php5.2->php5.4) file 황제낙엽 2015.05.16 1251