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.