Bug #10405 Updated: pdf: Unable to initilize module
| From: | jmoore@php.net | Date: | Sun, 29 Apr 2001 09:34:22 +0000 |
| Subject: | Bug #10405 Updated: pdf: Unable to initilize module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52848@lists.php.net to get a copy of this message | ||
ID: 10405
Updated by: jmoore
Reported By: john@neutralize.com
Old-Status: Open
Status: Closed
Bug Type: Dynamic loading
PHP Version: 4.0.4pl1
Assigned To:
Comments:
you need to compile your php.exe/.dll with the same sources as your pdf.dll. this is the cause of
your error message.
- James
Previous Comments:
---------------------------------------------------------------------------
[2001-04-19 12:00:43] john@neutralize.com
I have downloaded pdflib-4.0.0-Windows so I can pdf things in php.
The installation instructions are as follows:
"For building the PDFlib PHP binding you must have to the directory "ext/pdf" to your
PHP source tree. Then build php_pdf.dll."
I did not understand this completely so have probably hashed the configuration up and as there is no
other instructions I did my best.
I copied the directory pdf indicated above to my wwwroot (as I am using pws for testing) ie
C:Inetpubwwwrootpdf (with files in) and to get it to pick up the dll I created C:Inetpubwwwrootdll
to place php_pdf.dll in and uncommented extension=php_pdf.dll in php.ini along with pointing to the
dll directory by uncommenting extension_dir="C:Inetpubwwwrootdll"
This all seemed really messy and obviously not configured correctly but the readme file did not give
any more explanations.
The full error message that appears now when I try to load any php page is as follows:
pdf: Unable to initilize module
Module compiled with debug=0, thread-safety=1, module API=20001222
PHP complied with debug=0, thread-safety=1, module API=20001214
These options need to match
With the unix installation instructions the c++ code needs compiling but does not mention it for
Windows, does this mean I don't have to make the c++ code?
I will be grateful for any help on resolving this.
Thanks
John
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10405&edit=2