Help with Apache/PHP on Ubuntu

I'm setting up a Ubuntu web server for testing and development. I did a clean install of Ubuntu, then followed the directions here for installing LAMP:
https://help.ubuntu.com/community/ApacheMySQLPHP

This installed PHP 5.3.5 on the server. I now want to use PHPDocx on this test server, but the requirements state that I need ZipArchive and XSLT.

Question #1: How can I tell if I have either of these installed already?
Question #2: How do I install these if I don't have them?
LVL 20
DVation191Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SwafnilConnect With a Mentor Commented:
I assume that XSL(T) will not be installed in your setup, but you should check the output of phpinfo() to see if it has been included or not.

To install XSL, simply install the package:
sudo apt-get install php5-xsl
sudo apache2ctl restart

Open in new window


The Zip-Extension has become part of the PHP core in PHP 5.3 so it is available by default.

Hope that helps!
0
All Courses

From novice to tech pro — start learning today.