Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed Linux 9. Now I want to write a page that uses this class: xslt_class which takes a xml file and a xslt file and transform to a html file. This class requires that my php be recompiled using this option: --with-dom. An online instruction says I need to go to
/usr/local/src and type the following command:
./configure --with-dom --with-apache=../apache_1.3.12
to recompile. However, configure is no where to be found. could you please help me activate --with-dom. Thank you very much.
My system already has php installed by default. You suggested to download and install it again. I wonder that will cause any problem. If I want to remove it before installing the new one, where would I find it to delete. Thanks.
Grab the source RPM http://ftp.redhat.com/pub/redhat/lin...2-17.2.src.rpm
Install it, you should see a php4.spec file in /usr/src/redhat/SPEC
open it up, under the build() section you should see a list of configure options, add your option there.
to build it, type "rpmbuild -bb php4.spec", install dependencies if required.
After its done you'll see a bunch of php-* packages in /usr/src/redhat/RPMS/i386, reinstall them over your current ones.
thank you for the instructions. I did exactly what you said and added --with-dom-xslt=DIRECTORY_OF_XSLT and --with-dom-exslt=DIRECTORY_OF_EXSLT to php.spec. However, I still cannot use class_xslt.php. It complains the following error message:
Fatal error: Call to undefined function: xslt_create() in /home/phamtranquocviet/web/196/hw4/class_xslt.php on line 85.
In windows, I got the same error, and it worked when I turned on the xslt feature by adding the following lines to php.ini:
Now, I checked and made sure similar options were in php.spec. Could you please tell me why it does not work in Redhat? Thank you very much.