dynamically load extension

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chathura86
    New Member
    • May 2007
    • 227

    dynamically load extension

    hi

    my hosting web server does not have the PDO extension installed

    is there a way that i can use that within my application
    because my app is build using PDO

    http://php.net/manual/en/function.dl.php
    is no longer supported, so do i have any workaround to solve this
    issue

    Regards
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    ask your provider to install PDO. although PDO usually ships with PHP by default. you may require it to be activated in php.ini, though. see also Installation Manual.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      http://php.net/manual/en/function.dl.php
      is no longer supported, so do i have any workaround to solve this
      issue
      Nope. Only way to load an extension into a web server is enabling it in the php.ini, as Dormilich suggested. (It's a security/performance thing.)

      my hosting web server does not have the PDO extension installed
      I suggest you rethink your choice in hosting services. If your host doesn't even support PDO, who knows what else basic functionality they don't support.

      Comment

      Working...