Re: PHP compilcation from source to " .so " shared library.

From: Date: Wed, 12 Feb 2014 21:47:44 +0000
Subject: Re: PHP compilcation from source to " .so " shared library.
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-18332@lists.php.net to get a copy of this message
On Wed, Feb 12, 2014 at 11:55 AM, Tigran Bayburtsyan <tigran.bayburtsyan@gmail.com> 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 internals@lists.php.net -Hannes

« previous php.webmaster (#18332) next »