On Wed, Feb 12, 2014 at 11:55 AM, Tigran Bayburtsyan <[email protected]> wrote: > Hi. > I've project where I need to integrate PHP interpreter with my C++ desktop > application , but I don't want to use PHP functionality as a executble ( > making another process for it from C++ application ). I'm wondering i there > a way of compiling PHP C/C++ code to shared library where I'll be able to > edit PHP's main function and call it from my C++ application just including > PHP ".so/.dll" compiled shared library into my project. > My application is a Linux based. > Please let me know if there's a way of doing that.
./configure --enable-embed I don't think this is very well documented, mostly becaues there are maybe only 15 people in the world that have ever used it... But it should work just fine. If you run into issues and google doesn't help, I suggest you mail [email protected] -Hannes -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
