Skip to content

Danack/pdo_shenanigans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developing is working? Developing is working? Developing is working? Developing is working? Developing is working? Developing is working?

docker-compose up mysql postgres developing --build

[email protected]:Imagick/php-src.git

cd php-src

git checkout pdo_sub_classing

./buildconf

./configure
--enable-mbstring
--without-iconv
--with-curl
--with-pdo-mysql
--with-pdo-pgsql
--with-pdo-sqlite
--with-pdo-dblib
--with-pdo-firebird
--with-pdo-oci=instantclient,/opt/oracle/instantclient
--with-pdo-odbc=unixODBC,/usr

make install -j8

php run-tests.php
ext/pdo
ext/pdo_mysql
ext/pdo_pgsql
ext/pdo_sqlite
ext/pdo_dblib
ext/pdo_firebird
ext/pdo_oci
ext/pdo_odbc

psql "sslmode=disable dbname=phptest user=postgresuser host=host.docker.internal"


PDO_DBLIB DSN examples

The following examples show a PDO_DBLIB DSN for connecting to Microsoft SQL Server and Sybase databases:

mssql:host=localhost;dbname=testdb sybase:host=localhost;dbname=testdb dblib:host=localhost;dbname=testdb

--with-pdo-firebird
--with-pdo-dblib

--with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home --with-pdo-firebird[=DIR] --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory. --with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to --with-pdo-oci=instantclient,/path/to/instant/client/lib

[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base --without-pdo-sqlite PDO: sqlite 3 support.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published