Solved

Help with Apache/PHP on Ubuntu

Posted on 2011-09-20
1
309 Views
Last Modified: 2012-06-22
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?
0
Comment
Question by:DVation191
1 Comment
 
LVL 7

Accepted Solution

by:
Swafnil earned 500 total points
ID: 36567062
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question