Site icon David Yin's Blog

Let Dreamhost PHP support Zip extension

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.

Exit mobile version