Reply to Re: [PHP] unable to load perl extension

Your name:

Reply:


Posted by dev lamp on 12/31/05 16:46

On 12/31/05, Richard Lynch <ceo@l-i-e.com> 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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация