#30041 [Opn->Bgs]: pdf_open_file() expects exactly 2 parameters, 1 given

From: Date: Fri, 01 Oct 2004 18:56:48 +0000
Subject: #30041 [Opn->Bgs]: pdf_open_file() expects exactly 2 parameters, 1 given
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67015@lists.php.net to get a copy of this message
ID: 30041 Updated by: sniper@php.net Reported By: pdowson at aea9 dot k12 dot ia dot us -Status: Open +Status: Bogus Bug Type: PDF related Operating System: FreeBSD 5.2 PHP Version: 4.3.8 New Comment: We don't support that port. If you experience this error when you compile PHP yourself, reopen. Previous Comments: ------------------------------------------------------------------------ [2004-10-01 19:03:00] pdowson at aea9 dot k12 dot ia dot us I forgot to mention about the installation of PHP. PHP was installed using the FreeBSD ports collection ------------------------------------------------------------------------ [2004-10-01 19:01:04] pdowson at aea9 dot k12 dot ia dot us # php -n pdf.php Fatal error: Call to undefined function: pdf_new() in /root/pdf.php on line 6 # php -i | grep PDF PDF Support => enabled PDFlib GmbH Version => 6.0.0p1 ------------------------------------------------------------------------ [2004-10-01 09:50:54] sniper@php.net How did you compile PHP? You really need some pdf library, you should know what you have installed in your machine, shouldn't you? :) Try running the test script I gave like this: # php -n pdf.php And you can check what pdf extension version you have with this: # php -i | grep PDF ------------------------------------------------------------------------ [2004-09-24 16:01:03] pdowson at aea9 dot k12 dot ia dot us How do I check which pdf extension I am using? ------------------------------------------------------------------------ [2004-09-23 21:47:08] iliaa@php.net Are you using native PHP pdf extension or are you using the one provided by the libpdf developers? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30041 -- Edit this bug report at http://bugs.php.net/?id=30041&edit=1

« previous php.bugs (#67015) next »