Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help with Apache/PHP on Ubuntu

Posted on 2011-09-20
1
Medium Priority
?
321 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 2000 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Suggested Courses

971 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