LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 05: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 05:24 PM.
 
Old 12-08-2009, 04: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, 01: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


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 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 02:27 AM
XML and XSL Kedelfor Programming 4 09-13-2004 06:30 PM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 01:14 AM
browser that support xsl demmylls Linux - Software 0 02-08-2004 11:48 AM
configuring MLD support for Linux Aniket Linux - Software 0 07-29-2002 03:46 PM


All times are GMT -5. The time now is 08:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration