Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Perl
Password Reminder
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 02:52 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.