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
Post a Comment