Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-12-2004, 07:40 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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

Old 01-12-2004, 01:25 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at this howto:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling PHP on Debian j@ckrabbit Debian 1 10-28-2005 02:43 PM
Problem Compiling php-4.3.4 kaplan71 Programming 1 05-17-2004 05:02 PM
compiling PHP 4.3.4 bmw5002 Linux - Software 2 12-27-2003 02:01 PM
Compiling PHP Risen Linux - Software 3 10-13-2003 12:28 PM
compiling PHP WiWa Linux - Software 4 10-07-2003 09:16 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration