On 12/31/05, Richard Lynch <ceo@xxxxxxxxx> wrote: > On Thu, December 29, 2005 9:17 am, dev lamp wrote: > > Scenario 2: > > the perl extension does not get loaded and the PHP script crashes. > > Define "crashes"... > > Does it literally crash the PHP/Apache process, or does it just print > out "Not loaded"? > It just prints "Not loaded". > Either way, crank up your error settings to E_ALL and check your > Apache error log to find out *WHY* it's not getting loaded. > > Could you live with: > <?php > exec("/usr/local/bin/perl script.pl", $output, $error); > $output = implode("<br />\n", $output); > if ($error) die("OS Error: $error<br />\n$output"); > echo $output; //probably do something more interesting here > ?> > Well, I would like to avoid this, since the PERL objects have to be used and want to invoke methods. thanks for your time. thanks Dev. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php