Jump to content

Warning: dl(): Invalid library (maybe not a PHP library) 'libTest.so'


krups

Recommended Posts

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.