(Apologies if this should have been in the Programming forum, but this involves SSH, so I thought it would be better in here)
I am a couple of more errors away from screaming my head off and giving up with this - please, oh please, could somebody help me?
I am trying to install the PHP PECL package ‘Zip’, so that functions such as zip_open() will work in one of my PHP scripts.
When I was developing the script offline, I downloaded XAMPP (from apachefriends), which has Apache, PHP and MySQL with it - and for some reason this came with the zip functions enabled. Of course when I uploaded it I found that it didn’t work on Dreamhost.
I have been through the DH Wiki and I’ve followed all the instructions about installing PEAR/PECL packages, and I’ve had absolutely no luck whatsoever - and I’m actually left with non-existant folders still appearing on the server because of it. I can deal with that though - they don’t really bother me - what bothers me is that I still haven’t got this working yet. I’m currently running a recompiled PHP5 (5.1.6) with the ‘–enable-zip’ option in the configuration, but that didn’t seem to do anything.
I’ve also tried using the exec() PHP function and using the server’s unzip function, but that was very slow and halted my sites when it was unzipping something…
I’ve searched through Google for an explanation too, but I’ve still not had any luck, and I’m just getting sick of it.
The zip functions seem to be quite common (they’re in the actual PHP manual), so I don’t understand why a host would not have them enabled by default when I can easily download a local copy of Apache/PHP and have them working automatically without having to do anything - but I’m not angry at DH for not enabling it - I’m just angry that SSH and PEAR is so complicated to work on shared hosting.
So - I would be extremely grateful if somebody would help me with this issue - otherwise people in America will probably hear my scream all the way from Scotland.