LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-12-2004, 08:40 AM   #1
lumux
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

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

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


Reply


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 03:43 PM
Problem Compiling php-4.3.4 kaplan71 Programming 1 05-17-2004 06:02 PM
compiling PHP 4.3.4 bmw5002 Linux - Software 2 12-27-2003 03:01 PM
Compiling PHP Risen Linux - Software 3 10-13-2003 01:28 PM
compiling PHP WiWa Linux - Software 4 10-07-2003 10:16 AM


All times are GMT -5. The time now is 04:18 AM.

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