LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Re-compiling PHP (https://www.linuxquestions.org/questions/linux-software-2/re-compiling-php-133953/)

lumux 01-12-2004 07:40 AM

Re-compiling PHP
 
Could someone please give me some insight into how to recompile PHP. I am using PHP 4.2.2-17.2 on a Red Hat 9 box.

The install instructions for the module I wish to install are as follows:

====================================================
To get these functions to work, you have to compile PHP with --with-pdflib[=DIR]. DIR is the PDFlib base install directory, defaults to /usr/local. In addition you can specify the jpeg, tiff, and pnglibrary for PDFlib to use, which is optional for PDFlib 4.x. To do so add to your configure line the options --with-jpeg-dir[=DIR] --with-png-dir[=DIR] --with-tiff-dir[=DIR].

When using version 3.x of PDFlib, you should configure PDFlib with the option --enable-shared-pdflib.
====================================================

If anyone can help....or ideally a step by step guide, I would be very gratefull.

Thanks in advance

Lumux

david_ross 01-12-2004 01:25 PM

Take a look at this howto:
http://lamps.efactory.de/e-index.shtml


All times are GMT -5. The time now is 05:45 PM.