Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xslt with php on apache doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
oc666
Guru
Guru


Joined: 15 May 2006
Posts: 330
Location: Israel

PostPosted: Sat Oct 27, 2007 3:30 pm    Post subject: xslt with php on apache doesn't work Reply with quote

Hello
I installed my php with xslt enabled.
From my phpinfo:
Code:
xsl
XSL    enabled
libxslt Version    1.1.20
libxslt compiled against libxml Version    2.6.28
EXSLT    enabled
libexslt Version    1.1.20

Code:
# emerge -ptv php

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/php-5.2.4_p20070914-r2  USE="apache2 berkdb cli crypt ctype curl gdbm iconv ipv6 mssql mysql ncurses nls odbc pcre posix readline reflection session simplexml spell spl sqlite ssl truetype unicode xml xmlreader xmlrpc xmlwriter xsl zlib -adabas -bcmath -birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -imap -inifile -interbase -iodbc -java-external -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mysqli -oci8 -oci8-instant-client -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap -sockets -solid -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xpm -yaz -zip -zip-external" 0 kB


When I try to use xslt_create() I get the next error:
Code:

<b>Fatal error</b>:  Call to undefined function xslt_create() in <b>/path/on/server/xml.php</b> on line <b>96</b><br />

I reinstall libxslt & libxml, but it didn't help.
What is the problem?

Thanks
_________________
embAD-new way to insert ads to your website


Last edited by oc666 on Fri Nov 23, 2007 3:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Habbit
Apprentice
Apprentice


Joined: 01 Sep 2007
Posts: 237
Location: 3.7137 W, 40.3873 N

PostPosted: Sun Oct 28, 2007 1:21 am    Post subject: Reply with quote

Maybe you just need to enable the appropiate php extensions/apache modules in your PHP/Apache config file. In Windows, these would be php.ini/httpd.conf, but maybe they have a different name in Gentoo (maybe under /etc/conf.d?).
_________________
Code:
~ $ objdump -d ./habbit_mind
90      xchg %rax, %rax
EB FD   jmp $-3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum