LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-07-2009, 04:19 PM   #1
alltime
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1 with kernel 2.6.10
Posts: 60

Rep: Reputation: 15
Installing/Configuring XSL Support


I am attempting to enable our CentOS server to have XSL support.
We have the following libraries installed.

PHP 5:
DOM/XML
libXML

I do not have:
XSL and libxslt listed though when executing phpinfo.

Will these libraries need to be manually installed from their rpm? Or does PHP version 5 already have this library.

Forgive me, I'm not a noob but I'm definitely still learning. I was attempting to use http://www.adobe.com/devnet/dreamwea...p_xslt_07.html as a guide.

Last edited by alltime; 12-07-2009 at 04:24 PM.
 
Old 12-08-2009, 03:50 AM   #2
eth1
Member
 
Registered: May 2008
Posts: 97

Rep: Reputation: 20
From php.net,

Quote:
PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory.

 
Old 12-08-2009, 12:14 PM   #3
alltime
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1 with kernel 2.6.10
Posts: 60

Original Poster
Rep: Reputation: 15
Yes I saw that documentation. My only issue is trying to locate the configure file. Is there an easy way to locate it? Please correct me if I'm wrong but the below guide is correct also? Or is this not necessary with PHP5?

Quote:
1.

Configure PHP with XSL support. To do that, execute the following commands, in this sequence:

./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-apxs=/usr/sbin/apxs \
--with-libxml-dir=/usr
--with-xsl=/usr

Note: The flags used above only enable XSL support. Add any other flags that might be necessary for your own configuration, such as MySQL support, LDAP, FTP, and so on. Also, the path to your current PHP installation may be different than /usr/local/php, depending on your settings or the Linux/Unix version you are using.
2.

Compile PHP:

make

3.

Install PHP:

make install

4. Restart your web server.
 
  


Reply

Tags
xml



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
Configuring GTK To Support Themes? Chryyz Linux - Software 2 10-07-2005 01:27 AM
XML and XSL Kedelfor Programming 4 09-13-2004 05:30 PM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 12:14 AM
browser that support xsl demmylls Linux - Software 0 02-08-2004 10:48 AM
configuring MLD support for Linux Aniket Linux - Software 0 07-29-2002 02:46 PM

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

All times are GMT -5. The time now is 01:48 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