Trying to get ActiveState perl to work inside my PHP scripts

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
bi306b
-


Joined: 10 Oct 2007
Posts: 1

PostPosted: Wed Oct 10, 2007 7:54 pm    Post subject: Trying to get ActiveState perl to work inside my PHP scripts Reply with quote

I have installed abyss and PHP from your site and am now trying to get ActiveState perl to work from inside my PHP scripts.
Interface: CGI/ISAPI
Interpreter: C:\Perl\bin\perlis.dll

When I try to run "http://localhost:8080/test1.php" I get the following;
Hello from PHP!
Fatal error: Class 'Perl' not found in C:\Program Files\Abyss Web Server\htdocs\test1.php on line 8

test1.php:
<?php
print "Hello from PHP!";
$perl = new Perl();
$perl->require("cgi-bin/test1.pl");
print "Bye!";
?>

cgi-bin/test1.pl:
#!C:/perl/bin/perl.exe
print "Content-Type: text/html\n\n";
print "Hello from perl!"

The php.ini file has no reference to any perl dll as an extension... Is this the probelm? And if so how do I remedy it? Thanks in advance!
_________________
Curtis M.
Back to top View user's profile Send private message
Marty_
-


Joined: 21 Feb 2006
Posts: 55

PostPosted: Mon Oct 15, 2007 4:54 pm    Post subject: Reply with quote

Interpreter = C:\Perl\bin\perl.exe

Associated Extensions = pl cgi
_________________
What is Pay Per Play ?
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Fri Oct 19, 2007 4:48 pm    Post subject: Reply with quote

Quote:
PHP's perl extension is available from the PECL web site at http://pecl.php.net/package/perl

http://devzone.zend.com/node/view/id/1712

You don't need to set Perl up as an interpreter in Abyss for this.

http://pecl.php.net/package/perl
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
pranavb85
-


Joined: 15 Jul 2008
Posts: 1

PostPosted: Tue Jul 15, 2008 6:43 pm    Post subject: facing same problem Reply with quote

Hi,

I am facing same problem.... what is the solution to this problem??

I have added php_perl.dll into my php/ext and also php.ini extensions...

please help0 me out.

thanks!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group