General discussions related to php
3 posts • Page 1 of 1
what kind of errors are you getting? a LOT changed between 5.0 and 5.4 Your best bet if there is not an updated dll would be to get the best documentation you can on the functions in your dll, and create an adapter class based on the errors you're getting. Googling "PHP Adapter design pattern" should get you a couple of quality hits to walk you through getting started. Typically I'm not a fan of adapters as people use them to enable bad maintenance practices, but in a situation where you need the functionality and an updated dll is not available you may not have much choice.
yeah, undefined function, assuming that the function is defined in the dll file, means that the contents of the .dll are not being used. I'd make sure to verify your include paths, and maybe even try to explicitly include or require it