Now: Tutorial for Web and Software Design > PHP > QA > PHP Content
> PHPFAQ - How do I install Sablotron with PHP? [Bookmark it]
PHPFAQ - How do I install Sablotron with PHP?


Question :

How do I install Sablotron with PHP?

Answer :NOTE: PHP4.2.x uses --enable-xslt --with-xslt-sablot not --with-sablot in the configure line.


You need to first install expat, followed by Sablotron. Then you need to reinstall PHP. This is the method we used :-

Get source for expat
http://sourceforge.net/projects/expat/ (check for latest)
wget http://telia.dl.sourceforge.net/sourceforge/expat/expat-1.95.5.tar.gz
tar -pxzf expat-1.95.5.tar.gz
cd expat-1.95.5
./configure
make
make install
cd ..
rm r expat-1.95.2*

*Make sure that /etc/ld.so.conf contains /usr/local/lib
then run
ldconfig

Get the source from http://www.gingerall.com
http://download-2.gingerall.cz/download/sablot/Sablot-0.96.tar.gz
tar -pxzf Sablot-0.96.tar.gz
cd Sablot-0.96
./configure
make
make install
ldconfig
cd ..
rm r Sablot-0.96*

Then recompile PHP using --enable-xslt --with-xslt-sablot in the cofigure line.

Had a problem with error messages found a site
http://archive.gingerall.cz/archives/public/sablot2002/msg02029.html

Then used the patch and it worked great
in the Sablot dir
wget http://phpfaq.info/sablot/Sablot-0.96.1.patch
patch -p2 < Sablot-0.96.1.patch

[Bookmark][Print] [Close][To Top]
  • Prev Article-PHP:

  • Next Article-PHP:
  • Related Materias
    PHPFAQ - How google is you
    PHPFAQ - Are there any web
    PHPFAQ - How can I accept 
    PHPFAQ - How can I finance
    PHPFAQ - Where can I get P
    PHPFAQ - Where can I host 
    PHPFAQ - Where can I find 
    PHPFAQ - I am trying to cr
    PHPFAQ - Is there a librar
    PHPFAQ - How can I manage 
    Topics
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Graphic Design Tutorial
     

    Coreldraw Tutorial

      Illustrator Tutorial
      3D Graphics Articles
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial&Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial&Articles
     

    XML Style Tutorial

      AJAX Tutorial
      XML Mobile
    Flash Tutorial&Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial&Articles
     

    Linux Tutorial

      Symbian Tutorial
      MacOS Tutorial