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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.