Mailing List Archive

PHP::Interpreter Requires a PHP Compile, Right?
Bricoleurs,

As I'm updating to 1.11.3 here, I thought I'd take another shot at including PHP::Interpreter in Bricolage, since this business of having to write Perl is making me crazy. Going through the process, I quickly remembered why I'd given up last time, in October 2008. A couple of weeks later, Andreas came to the conclusion that I had [1]—that the only way to to roll into into Bricolage is to recompile PHP. That's because PHP::Interpreter requires PHP's libraries, to tie into the non-DSO version of PHP, meaning that the DSO-based, library-less RPM is no good.

Our site is on a managed server, and our host quite understandably doesn't want us compiling core programs, especially not programs that are public-facing, because it means that upgrading it—for reasons of security or otherwise—becomes substantially more involved, and it becomes a lot easier to accidentally break something on recompile.

So, before I again give up on PHP::Interpreter, I just want to check to make sure that I'm not missing something. Is anybody aware of a solution to getting PHP::Interpreter running that doesn't require recompiling PHP?

Best,
Waldo


[1] http://www.gossamer-threads.com/lists/bricolage/users/35114#35114

---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223
434-243-4995
Re: PHP::Interpreter Requires a PHP Compile, Right? [ In reply to ]
Hi Waldo,

> So, before I again give up on PHP::Interpreter, I just want to check to
> make sure that I'm not missing something. Is anybody aware of a solution
> to getting PHP::Interpreter running that doesn't require recompiling PHP?

Do a local install of php with --embed flag? Since it would be only used
by Bricolage by authenticated users, less of a concern then public
facing php (which needs to get updated several times a year).

Cheers,

Alex

--
Alex Krohn <alex@gossamer-threads.com>
Re: PHP::Interpreter Requires a PHP Compile, Right? [ In reply to ]
On Jan 29, 2010, at 1:55 PM, Alex Krohn wrote:
>> So, before I again give up on PHP::Interpreter, I just want to check to
>> make sure that I'm not missing something. Is anybody aware of a solution
>> to getting PHP::Interpreter running that doesn't require recompiling PHP?
>
> Do a local install of php with --embed flag? Since it would be only used
> by Bricolage by authenticated users, less of a concern then public
> facing php (which needs to get updated several times a year).

That's a clever idea. I'm not sure that our host will be down with it, but it sure makes sense to me!

Best,
Waldo

---
Virginia Quarterly Review
One West Range, Box 400223
University of Virginia
Charlottesville, VA 22904-4223
434-243-4995