Cannot load SO file - Urgent

Hi all . . . . . .

My client has given me an “SO” file. He also gave me the link http://devzone.zend.com/1435/wrapping-c … 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???

Going by the link you posted, this is a C++ wrapper that allows for C++ to be called thru PHP.
But, to do so, you have to mess with your PHP server to allow access to the C++ inside the wrapper.
A wrapper basically takes your PHP calls and re-routs them to the C++. Very complicated. Why
would you need this? If you are using C++ on a website and want to call it from PHP, I guess…
So, the first part of that link you send talks about altering the PHP server to allow this wrapper to
work. So, you would need to study that and alter the PHP server you are using…

Hope that helps… (Might be a subject to discuss on a C++ site?)

Sponsor our Newsletter | Privacy Policy | Terms of Service