pdflib - no errors but no pdf functions!
| From: | Jough | Date: | Fri, 09 Mar 2001 02:02:49 +0000 |
| Subject: | pdflib - no errors but no pdf functions! | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2300@lists.php.net to get a copy of this message | ||
Okay, so I've compiled PHP with pdflib into Apache a few times and haven't
gotten any error messages but when I try to use the pdf functions I get an
error message like this:
Fatal error: Call to undefined function: pdf_open_file() in
/usr/local/apache/htdocs/index.php on line 2
I've also tried to use pdf_new(), pdf_open() and other pdf functions.
Here is an exerpt from my root command history:
cd ../pdflib-3.03
./configure --enable-shared-pdflib
make
make install
cd ../apache_1.3.19
./configure
cd ../php-4.0.4pl1
./configure --with-mysql=/usr/local/
--with-apache=/home/jough/src/apache_1.3.19/ --enable-track-vars
--with-pdflib=/usr/local/lib/ --with-jpeg-dir=/usr/lib/
--with-tiff-dir=/usr/local/lib/
make
make install
cd ../apache_1.3.19
./configure --activate-module=src/modules/php4/libphp4.module
cp src/modules/php4/libmodphp4.a src/modules/php4/libphp4.a
make
make install
vi /usr/local/apache/conf/httpd.conf
/usr/local/apache/bin/apachectl start
cd /usr/local/apache/htdocs/
rm -f index.html.*
vi index.php
And I don't get any errors! Hopefully you guys are laughing at me b/c I'm
doing something so obviously stupid, but I fear I could not be so lucky...
Please help! Thanks!!
-----
http://jough.raspberrytea.com