How to install a php extension by .so file?
Posted: Wed May 12, 2010 3:42 pm
Hi, everyone!
I need your help!
I'm working on a project that needs to develop a php extension for our clients.
The php extension is written by C/C++ and we have complied and installed it to our linux server for testing by using phpize and etc.
So I got a .so file and now we should deliver our product it to our clients, but the problem is that we can't give the source code to them for installing on their php server.
I googled a lot, but all the articls are about phpize&./configure&make&make install things by which needs the source code.
Can I just give the .so file which is complied on our server to our clients and then tell them just copy the .so file to the php exetension modules folder ,setup the php.ini file and then restart apache?
Does it work? Or some ideas?
I need your help!
I'm working on a project that needs to develop a php extension for our clients.
The php extension is written by C/C++ and we have complied and installed it to our linux server for testing by using phpize and etc.
So I got a .so file and now we should deliver our product it to our clients, but the problem is that we can't give the source code to them for installing on their php server.
I googled a lot, but all the articls are about phpize&./configure&make&make install things by which needs the source code.
Can I just give the .so file which is complied on our server to our clients and then tell them just copy the .so file to the php exetension modules folder ,setup the php.ini file and then restart apache?
Does it work? Or some ideas?