Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-24-2005, 01:48 PM   #1
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
add compile-time extensions to php built from a package

Hi all,

I've installed PHP from the slackware package, but now I would like to enable some other features in php - should I uninstall the package and build from source, or is there a neater way around extending my installation please?

Old 02-24-2005, 02:00 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,451

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420
You have to recompile php, for that, uninstall slackware php package and
download the php sources, take your time when configuring php, it is tedious.

Look at the slackbuild script

And look for the additional file php.ini.diff.gz in
Old 02-24-2005, 05:17 PM   #3
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
./configure --with-zlib=/usr/ --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --with-pdflib=/usr/local/include --with-gd --with-bz2 --with-id3
This is the configure string I use for PHP; it configures support for Apache, SSL, MySQL, Gzip/Bzip compression, GD graphic library, and PDF libraries.

(Of course these programs must be installed prior to configuring PHP)

It took me *hours* to get everything in order before I could successfully compile.

Last edited by mdarby; 02-24-2005 at 05:18 PM.


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
php-devel & PHP extensions EHCanadian Mandriva 0 06-23-2005 07:06 PM
How to Find the Compile Time Options of a RPM Package spurgeonb Red Hat 0 11-14-2004 12:00 AM
Pre-built package for Perl on Solaris 5.8 ? Van Gogh Solaris / OpenSolaris 11 08-12-2004 11:10 PM
sendmail package for slackware built with SASL?? Demon333 Slackware 5 03-20-2004 07:49 PM
php AND extensions kaiozero Linux - Software 1 05-30-2002 06:58 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:57 PM.

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