NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Homemade PHP-extension and PhpED


Joined: 15 Nov 2007
Posts: 3
Reply with quote
Hi,

Some time ago I built an extension for PHP which works fine using my usual Apache/PHP installation. Using PhpED however, it won't load (it does not appear in the phpinfo() list).
I put the extension DLL in the php5/extensions folder of my PhpED installation and added a line to the list of Windows extensions in the appropriate php.ini file, but no success.

What could be the problem?
View user's profileFind all posts by LukasSend private message


Joined: 15 Nov 2007
Posts: 3
Reply with quote
Additionally, when trying to load this extension dynamically with dl() I get this warning:
Code:
Warning: dl() [function.dl]: Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match
View user's profileFind all posts by LukasSend private message


Joined: 15 Nov 2007
Posts: 3
Reply with quote
Nevermind! I compiled the DLL for PHP 5.0.4 while PhpED comes with PHP 5.2... Rolling Eyes I recompiled it for 5.2 and everything works fine now.
View user's profileFind all posts by LukasSend private message
[resolved] Homemade PHP-extension and PhpED
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic