Hello, I've installed php4-4.3.8 and php4-extensions-1.0, but I forgot xslt support. Is there an easy way to intall php-modules later? What I've done, seems not to be the best way: - pkg_delete php4-extensions-1.0 - edit /var/db/ports/php4/options: changed WITHOUT_XSLT=true to WITH_XSLT=true - cd /usr/ports/lang/php4-extensions && make install clean Regards, Thomas.
On Track Technicial Support
2004-Aug-15 14:49 UTC
php-extensions: How adding additional module?
make config I do think that the whole new PHP ports system needs to be re-done. It seems to have very serious problems. Most notably, there is no way to compile modules in statically without editing the Makefile (some need to be static or it causes problems) and there is no working pear support without doing it manually. ----- Original Message ----- From: "Thoamas Krause -CI-" <freebsd-stable@chef-ingenieur.de> To: <stable@freebsd.org> Sent: Sunday, August 15, 2004 11:06 AM Subject: php-extensions: How adding additional module?> Hello, > I've installed php4-4.3.8 and php4-extensions-1.0, but I forgot > xslt support. Is there an easy way to intall php-modules > later? > > What I've done, seems not to be the best way: > - pkg_delete php4-extensions-1.0 > - edit /var/db/ports/php4/options: changed > WITHOUT_XSLT=true to WITH_XSLT=true > - cd /usr/ports/lang/php4-extensions && make install clean > > > Regards, > Thomas. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
On Sun, Aug 15, 2004 at 08:06:53PM +0200, Thoamas Krause -CI- wrote:> I've installed php4-4.3.8 and php4-extensions-1.0, but I forgot > xslt support. Is there an easy way to intall php-modules > later? > > What I've done, seems not to be the best way: > - pkg_delete php4-extensions-1.0 > - edit /var/db/ports/php4/options: changed > WITHOUT_XSLT=true to WITH_XSLT=true > - cd /usr/ports/lang/php4-extensions && make install cleanActually, the new PHP framework makes what you want trivially easy. Just install the textproc/php4-xslt port. If you're using mod_php4, restart apache. That's all you need to do. Now, for the sake of neatness you can re-run 'make config' in the php4-extensions port, and check the XSLT option, but that's just bookkeeping: using the php{4,5}-extensions port is just a convenience thing and entirely optional. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040816/4b48ff47/attachment.bin