Let Dreamhost PHP support Zip extension

| 5 Comments

The default PHP of DreamHost is not support Zip extension.

To let it support Zip. You need following steps.
1) Have your own customized PHP compile, which I posted before.

2) Then need to installing PECL Zip
Followed the guide on wiki.

The only difference I did, is to move zip.so file from
/home/username/php5/lib/php/extensions
to
/home/username/Domainname/cgi-bin/

Because I use cgi-bin as the extension folder.

Installation Difficult Rank: Easy
Time spend: 15 mins.

After install PECL zip extension, I can use PHP to create, modify, and read zip-format files.




5 Comments

I noticed that you did not compile php5 on DH with --enable-zip and was wondering why you chose to not do this but use PECL to do the extension?

Hi David, I have this problem when i run the script zip.sh .. it starts to run then says "Line 184:/home/username/php5/bin/phpize: No such file or directory

Any ideas why i might be getting this?

Hi David,

wonderful script, just wanted to know if u can add the dbase extension support to the pecl script to add the dbase support as well like zip.

I have this exact same thing. Think I have my php5 compiled properly in /home/*******/cgi-bin/ so can't see where the problem is...

Leave a comment

About this Entry

This page contains a single entry by David Yin published on December 20, 2007 1:02 AM.

MovableType 4.1 Commercial Beta 1 was the previous entry in this blog.

Path difference between Windows and Linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 5.02

Subscribe

Online Tools

Code Convertor