FAQ
Hey guys,

So we are trying to use PHP::Interpretter in a Bricolage Perl template to call a
function included in an external file. When trying to preview said
document the preview seqfaults. I then commented out all the new code
I had added and uncommented it one line at a time until arriving at
this which causes a segfault:

# Start Oracal Update
use PHP::Interpreter;
my $opush = PHP::Interpreter->new();
#$opush->include('/includes/php/calendar/oracle_push.php');
#my $uid = $opush->somePhpFunc($title,$location,$description,$email,$dtstart,$dtend,$rrule);
# End Oracal Update

So apparently "my $opush = PHP::Interpreter->new();" is causing the
fault and this is pretty much standard code just creating a new
associated PHP interpreter instance. Why is this failing? Any help
please.

-Trevor

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-sandwich-dev @
categoriesperl
postedJul 23, '08 at 5:51p
activeJul 23, '08 at 5:51p
posts1
users1
websiteperl.org

1 user in discussion

Trevor Smith: 1 post

People

Translate

site design / logo © 2016 Grokbase