luwk Posted October 3, 2008 Share Posted October 3, 2008 I am trying to build a simple PHP Extension which simply returns a string object. I have followed the tutorial found on http://devzone.zend.com/node/view/id/1021 up until the deployment stage. Instead of deploying the compiled module in the PHP Ini directory, I copied it in the same folder where the test.php page is. Then I am loading the module using the dl() method. By using the extension_loaded() method I am making sure that the extension is loaded successfully, however when I try to execute the GetMessage method found in the extension, the php compiler just crashes. ie. it stops compiling and does not issue any form of error message. I even tried to capture any exception thrown by calling the GetMessage() function from within a Try Catch block, however no exception is thrown, the compiler just crashes, or so it seems. Any idea what I might be doing incorrectly? Since the Extension compiles successfully and the module files are created without error, can I consider that step done? Or can the problem reside in the original source? Any help would be greatly appreciated. Thanks and Regards, Luke Link to comment https://forums.phpfreaks.com/topic/126886-php-extensions-help-needed/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.