View previous topic :: View next topic |
Author |
Message |
bi306b -
Joined: 10 Oct 2007 Posts: 1
|
Posted: Wed Oct 10, 2007 7:54 pm Post subject: Trying to get ActiveState perl to work inside my PHP scripts |
|
|
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 |
|
|
Marty_ -
Joined: 21 Feb 2006 Posts: 55
|
Posted: Mon Oct 15, 2007 4:54 pm Post subject: |
|
|
Interpreter = C:\Perl\bin\perl.exe
Associated Extensions = pl cgi _________________ What is Pay Per Play ? |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
|
Back to top |
|
|
pranavb85 -
Joined: 15 Jul 2008 Posts: 1
|
Posted: Tue Jul 15, 2008 6:43 pm Post subject: facing same problem |
|
|
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 |
|
|
|