dl() in php5?

Discussion in 'PHP' started by falcondriver, Sep 30, 2007.

  1. #1
    hi, i have to move a project from php4 to php5. no bigger issues so far, but now im stuck because the project uses some custom dll's for a key generator, and they have been included via dl("php_keygen.dll"), but if i try it via php.ini

    
    extension=php_keygen.dll
    
    Code (markup):
    (yes, they are in the same folder as all the other loaded extensions)

    i cant see anything in phpinfo() or extension_loaded().
    any ideas what could be wrong here? are there any special requirements for php .dll's?
     
    falcondriver, Sep 30, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Are you on a Windows or UNIX server?

    And also, did you restart Apache after the change?
     
    nico_swd, Sep 30, 2007 IP
  3. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #3
    IIS (version 5 imho) on windows 2000.
    restarted the server after i adjusted the PATH on computer->properties->... and also restarted the IIS service; no difference. also mailed to to people who wrote the keygen dll if there are some depencies to other .dll's, but no reply yet :/

    extension_dir = "C:/PHP/ext"
    Code (markup):
    and

    extension=php_genkey.dll
    Code (markup):

    is that correct, or is it
    extension_dir = "C:\PHP\ext"
    Code (markup):
    ?
     
    falcondriver, Sep 30, 2007 IP
  4. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #4
    ah, nothing i can do. dll depend on some other dlls who run only under php4 - so i have to switch all projects back to from 5 to 4 :(
     
    falcondriver, Sep 30, 2007 IP