develooper Front page | | Postings from September 2008

php perl integration

Thread Next
solo kihara
September 16, 2008 03:58
php perl integration
Message ID:
My name is Solomon and I am having problems with php-perl integration. I saw
your article on and I though
you might help.

I want to call a perl script from php and I am having a fatal error: "Fatal
error: Class 'Perl' not found ..."

I am using php 5.1.4 and Apache 2.0.59 on Win XP sp2. This WAMP server is
working perfectly ok. I have perl installed and working well as I can run
perl scripts. To do the php-perl integration I downloaded php_perl.dll from and placed it where other php extensions are located and
included the php_perl.dll extension in php.ini.

This is where the problem starts. When I try to restart the apache for the
settings to take effect, a fatal error appears: "'PHP Startup: Unable to
load dynamic library path.....' The specified procedure could not be found".
On running a simple script


print "Hello from PHP!\n";
$perl = new Perl();
print "Bye!\n";


it outputs the following:

"Hello from PHP!
*Fatal error*: Class 'Perl' not found in *C:\Documents and
Settings\wwwroot\my scripts\perl.php* on line *5"*

I have tried searching for solutions to this problem but to no avail.

Any help will be highly appreciated. Thank you in advance.

Solloh Kihara
Software Developer / Programmer
Tel: +254 726 567 797; +254 733 567 797
Najivunia Kuwa Mkenya

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About