Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Perl
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Perl section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 22nd, 2010, 03:45 PM
Registered User
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Perl code from PHP

i have using following PHP code in index.php file,


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


when i access the localsever to getting following error,

Hello from PHP!
Fatal error: Class 'Perl' not found in D:\wamp\www\artview\index.php on line 11

Pls resupply, How to resolve above Problem?


i have using php 5.0, latest perl, wamp installed.
Old December 23rd, 2010, 06:10 AM
Authorized User
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2009
Location: Moldova
Posts: 23
Thanks: 0
Thanked 2 Times in 2 Posts

This is a PHP question. You need to install "Perl" extension from PECL and enable it in PHP config.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the p stand for php or perl ciderpunx BOOK: Professional LAMP ISBN: 0-7645-9723-X 2 October 27th, 2011 02:06 PM
I need help with php variable passed to perl... nriv08 Beginning PHP 0 October 9th, 2008 12:54 PM
passing php variable to perl nriv08 PHP How-To 0 March 27th, 2008 10:38 AM
PHP, PERL, HTML, JAVASCRIPT, ASP mani_he PHP How-To 3 February 11th, 2005 06:46 PM
passing variables from PHP to Perl joconnor Beginning PHP 4 July 21st, 2004 08:13 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.