THE GOAL: To use xsl(t) functions with php.

Server info: I'm on dreamhost shared hosting (everybody loves dreamhost) but they don't have php with xsl.

What's the deal: I tried to get xsl working using this guide, but then noticed that they were using php4, and so I was like "Ok screw that" and read up on a little php5. According to the PHP XSL manual page, all I need to do to get it working is include the --with-xsl=$HOME/libxslt tag. Since I'm on a shared server, though, I have to put PHP in the right place, which means a few more simple tags. Here's the ./configure that I came up with, no errors:

./configure \
--with-prefix=$HOME/php5 \
--with-xsl=$HOME/libxslt \
--enable-force-cgi-redirect \
--with-config-file-path=$HOME/php5/etc/php.ini \
--enable-mysql

But then I go make and it spits out the following after a bunch of normal output:

/home/[my account]/downloads/src/php-5.0.4/main/output.c:421: undefined reference to `php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1

Any idea what the problem is? I've been stuggling with this for a while now.

BONUS QUESTIONS: unnecessary questions that will make me consider you a very nice person if you answer them :]
1. The ./configure gives me a big scary warning if I don't put --enable-force-cgi-redirect in there. What does that do?

The compassion of a thousand merciless suns will rain down upon you if you give me a hand (please).

EDIT: If there is a simpler way to use xslt functions without ASP, then by all means, let me know.

    hello

    go get the XAMPP package

    XAMPP
    Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

    At the moment there are four XAMPP versions:
    a version for Linux systems (tested for Ubuntu, SuSE, RedHat, Mandrake and Debian),
    a version for Windows 98, NT, 2000, 2003 and XP,
    a beta version for Solaris SPARC (developed and tested under Solaris 8),
    and a beta version for Mac OS X.
    This Mac OS X and Solaris versions of XAMPP are still in the first steps of development. Use at you own risk! Look at our projects page to find out more about our other projects.

    I did.
    Installs MORE than you need in 30 minutes.
    It is php ----with like 40-50 extensions
    at a default install

    http://www.apachefriends.org/en/

    /halojoy - has no install problems - apache and php4 and php5 latest version included

    .

      this is included in latest Linux package:

      XAMPP Linux 1.4.16
      41 MB
      Apache 2.0.54, MySQL 4.1.14, PHP 5.0.5 & 4.4.0 & PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support, Perl 5.8.7, ProFTPD 1.2.10, phpMyAdmin 2.6.3-pl1, OpenSSL 0.9.8, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.2.3, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.2a, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.1, FreeTDS 0.63, gettext 0.11.5, IMAP C-Client 2004e, OpenLDAP (client) 2.2.13, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.3, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.04-dev, FPDF 1.53

      if you want to see my APACHE 2.0.54 in action

      straight out of my 24/7 connected computer ( IP 213.100.118.115 )

      try

      http://213.100.118.115/

      good luck
      you cant go wrong - being independent ( indy-server )
      of spam and censurship

      .

        Write a Reply...