LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-10-2007, 11:50 AM   #1
chris
Member
 
Registered: Nov 2001
Location: Toronto, Canada
Distribution: CentOS 4
Posts: 66

Rep: Reputation: 15
Adding PHP Options Post Insatllation


Hey folks, I'm running CentOS 4 and have php installed by default but I need addtional options installed. How would I go about adding the following options? Do I need to recompile php or can I do this using rmp somehow?

--with-dom--enable-xslt --with-xslt-sablot


thanks!
 
Old 01-10-2007, 03:09 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Yes, you'll probably need to get a source PHP package and compile it yourself to get that functionality. I wanted GD functionaly in my PHP instance and the eventual "./configure" line I ended up with looked like this:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-apache2 --with-config-file-path=/usr/local/lib --with-gd --with-zlib --with-zlib-dir=/home/monitor/cvs-1.11.5/zlib/ --with-jpeg-dir=/home/stefan/jpeglib --with-png-dir=/home/stefan/pnglib --with-tiff-dir=/home/stefan/tiff --with-freetype-dir=/home/stefan/freetype-2.1.10 --with-libxml-dir=/home/stefan/libxml2-2.6.19 --with-java=/usr/java/j2sdk1.4.2_05/ --with-pear=/usr/local/lib/php --with-dom --enable-sockets --enable-ftp --enable-gd-native-ttf --enable-dbx --enable-shmop --enable-filepro --enable-bcmath --enable-calendar --enable-dio --enable-exif --with-fam --enable-mbstring --enable-soap --enable-wddf --enable-yp --enable-zend-multibyte --enable-force-cgi-redirect --enable-safe-mode --enable-versioning --enable-url-includes --enable-trans-sid --with-ldap --enable-discard-path --with-mcal --with-mod-dav --with-kerberos --enable-gd-imgstrttf --with-gdbm --with-gettext --disable-cgi --with-openssl --with-zip

You'll need to do something similar, then do

make
su
make install


to get XSLT working.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
best options for video post-processing? theYinYeti Linux - Software 2 02-06-2006 05:39 AM
How to add options in php.in after installation of PHP? touqeeransar Linux - Software 1 11-30-2005 04:52 AM
adding module options maenho Linux - Software 2 08-12-2005 05:58 AM
adding startup options archish Slackware 1 11-08-2003 07:05 AM
Adding options to apache cli_man Linux - Software 9 06-05-2002 08:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:50 PM.

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
Open Source Consulting | Domain Registration