zarquon Posted December 31, 2003 Report Share Posted December 31, 2003 Hi there, can't find any pdf Support in php on a 9.2 Installation from the "3 CD download edition". <?php phpinfo(); ?> tells me something about a php-pdf and/or php-cpdf module, that can be installed. There are several modules for php, for example php-gd, php-imap and of course php-mysql. Are the pdf-Modules only missing in the DL-Version ? regards Rafael Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 2, 2004 Report Share Posted January 2, 2004 Not sure what your trying to do here, but I can try and help with my limited knowledge on this. If your trying to set up a website to view pdf's through the user's browser, I think you may just need to map pdf through the php.ini file to instruct the browser on what to do with these types of files. The gd, mysql modules are for other applications that php may need to run to function. I will look at my stuff later tonight when I get home. Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 3, 2004 Report Share Posted January 3, 2004 OK, Here's what I was thinking of: file:/etc/httpd/conf/apache-mime.types has a line to associated the pdf mimi type for apache's needs (application/pdf pdf) But I don't think that's what your looking for here. I think your looking to generate pdf files using php and in that case you probably need to find "libpdf" which aren't on my MDK 9.2 CD's, but my sources tell me its available from the plf (which you can find by clicking on that downlink link at the top of this page). This page may be of some use to you: http://www.php.net/manual/en/ref.pdf.php Quote Link to comment Share on other sites More sharing options...
zarquon Posted January 3, 2004 Author Report Share Posted January 3, 2004 Yes, I want to generate pdf files using php. And I want wo know if pdflib is availible in the PowerPack or ProSuite. Maybe I should ask Mandrakesoft directly :) regards Rafael Quote Link to comment Share on other sites More sharing options...
iphitus Posted January 3, 2004 Report Share Posted January 3, 2004 Just grab the rpm from PLF, http://plf.zarb.org/ ftp://ftp.easynet.fr/plf/mandrake/9.2/i58...3-1plf.i586.rpm Quote Link to comment Share on other sites More sharing options...
johnnyv Posted January 4, 2004 Report Share Posted January 4, 2004 www.fpdf.org Has a good class for generating pdfs with php, no pdflib required. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.