krups Posted March 30, 2007 Share Posted March 30, 2007 I am trying to load an external module (C++ library- libTest.so) by using dl(). We are using PHP 4.3.9 and it has been built using CGI. phpTest.php file has the following line: dl('libTest.so'); We get the following error: Warning: dl(): Invalid library (maybe not a PHP library) 'libTest.so' Is it that we cannot load C++ modules in PHP? Link to comment https://forums.phpfreaks.com/topic/44927-warning-dl-invalid-library-maybe-not-a-php-library-libtestso/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.