Running perl from php page ??

Status
Not open for further replies.

gontham

New Member
Messages
2
Reaction score
0
Points
0
Hello,

i am trying to call my perl script from a php page, the perl script works fine when i call it from the browser, but when i call it from my test.php page i get this error:

Fatal error: Class 'Perl' not found in /home/a8346115/public_html/test.php on line 43


I read that i should install the perl extension for php but that requires me to change the php.ini file, which i don't seem to have access to.

i am calling the script with this:

<?php

print "Hello from PHP! ";
$perl = new Perl();
$perl->require("./cgi-bin/test.pl");
print "Bye! ";

?>

Any help would be appreciate it,
Thank you
 
Status
Not open for further replies.
Top