php - Load extension dynamically -


i use shared hosting, here not enabled pdo driver postgresql db

there possible load driver dynamically?

p.s. trying:

if (!extension_loaded('php_pdo_pgsql')) {     dl('php_pdo_pgsql.dll'); } 

this gives fatal error: call undefined function dl()

is there way?

you cannot load extensions dynamically starting php 5.3.0 (except in specific contexts not apply in case).

your option talk host , ask them enable extension you.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -