Hi all . . . . . . My client has given me an "SO" file. He also gave me the link http://devzone.zend.com/1435/wrapping-c-classes-in-a-php-extension/ as for reference on how to use the "SO" file. Based on this my developer created an "SO" file and loaded it in the php script and it worked. But when the client's "SO" file is loaded, it says "not a valid "SO" file. Now the client says that the file works fine on their end. My developer has never used "SO" file before. Kindly also elaborate "SO" files in simplest terms and are they only developed using c/c++ or any other language can also be used to develop "SO" files. Also can the same "SO" file be used via jsp and php????? And is there any possibility that an "SO" file is working with jsp and not working with php?????
.so files are shared object or shared library files specifically for linux based machines. When you are creating extensions for PHP you would compile them to an .so file - these are specific for PHP and can not work with JSP... same goes the other way around... you can't just mix and match them..
Thanks trendint, so now all that is left to see is what could possibly the reasons that the file is not linking.