Below are the steps I used to get PDFNet for PHP working on Abyss Web
Sever X1 on Windows XP:
1) Install VC 10 runtime (in not present on the machine). You can
obtain it from the following link:
http://www.microsoft.com/download/en/details.aspx?id=8328
2) Installed Abyss Web Sever X1.
3) Installed the preconfigured Abyss PHP 5 package for Windows from
http://www.aprelium.com/data/php536.exe.
4) Followed instructions on
http://www.aprelium.com/abyssws/php5win.html
to configure Abyss with PHP.
5) Donwloaded PDFNet SDK with PHP extension from:
http://www.pdftron.com/IDR49Z9-B31B/PDFNetC.zip
6) Copied PDFNetC/Lib and PDFNetC/Samples folder to the htdocs folder
in your Abyss install directory (eg. C:\Program Files\Abyss Web Server
\htdocs).
7) Modified php.ini file in Abyss PHP 5 installation directory to add
"extension=php_PDFNetPHP.dll" (eg. C:\Program Files\PHP5\php.ini)
8) Copied php_PDFNetPHP.dll to the PHP5 installation directory, and
PDFNetC.dll to C:\WINDOWS\system32.
9) Restart the server
10) Navigate to the StamperTest in the web browser (eg.
http://localhost/Samples/StamperTest/PHP/StamperTest.php)
The web browser should print "Done." at this point. You should find
the output files in the Samples/TestFiles/Output folder (eg.
http://localhost/Samples/TestFiles/Output/).
On Jul 12, 12:24 pm, Support <
supp...@pdftron.com> wrote:
> Q: I'm evaluating PDFTron for use with an application I'm building for
> a client. I'm interested in testing the ElementBuilder functionality
> (to build, stamp, and edti PDF fromPHP). But when I run thePHP
> example on my local Windows machine, I receive an error. Fatal error:
> Call to undefined function PDFNet_Initialize() in C:\wamp\bin\PDFNetC
> \Lib\PDFNetPHP.phpon line 15608
>
> This is a Windows 7 machine running WAMP although our production
> machine will be a Linux installation.
>
> Any ideas that could help me determining the source of this error so I
> can continue evaluating?
>
> ----------------
> A:
>
> How did you runPHPexample on Windows? I assume that you copied
> PDFNetPHP.phpand samples from Linux since at this very momentPHPis
> not officialy supported on Windows :) .
>
> You can download an unofficial pre-release Windows version of PDFNet
> forPHPusing the following link:
>
http://www.pdftron.com/IDR49Z9-B31B/PDFNetPHP.zip
>
> This set of libraries are tested with thePHP5.3.6 thread safe
> version.
>
> The php_PDFNetPHP.dll (from PDFNet/Lib folder) can be loaded like any
> otherPHPextension by placing it in the ext folder of thePHPinstall