help on php module installation

shann

Well-Known Member
Jul 5, 2002
366
0
166
cPanel Access Level
Website Owner
Hi,

One of our clinet requested follwing modules, how coul we intall?

domxml, wddx, and iconv

Any help is appreciatd.

Thanks
Shan
 

jimcarter

Well-Known Member
Jun 30, 2002
152
0
166
UK
Hi,
Download and unpack the php source:
http://www.php.net/get/php-4.3.1.tar.gz/from/us2.php.net/mirror
Then go into the unpacked folder,
Then configure php with the modules you want, the config line from one of my servers is:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=../gd-2.0.4 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-ming=../ming-0.2a --enable-magic-quotes --with-mysql --with-pear --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib
so, say you wanted domxml you would add on --with-domxml
etc until you have all of the modules needed
then type make
then type make install
then restart apache
if it runs through those steps without error you should now have a fully working php with the new modules :)
 

shann

Well-Known Member
Jul 5, 2002
366
0
166
cPanel Access Level
Website Owner
hi

HI,

Have yo tried latest build. when I try to install, I got following message


checking for DOM XSLT support... yes
checking for DOM EXSLT support... yes
not found
configure: error: Please reinstall the libxslt >= 1.0.3 distributio

Is anythign wrong with latest build?


Thanks
Shan
 

payne

Well-Known Member
May 31, 2003
103
0
166
Seattle
Hey Jim,
Do you need to install some of those extra options, like sablotron, before you run the config? Should I install the src or is the i386 fine? What version of Sablotron do you have running on this server? Did you need to tweak any paths?

cPanel.net Support Ticket Number: