Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: ZipArchive driving me insane!
09-20-2012, 07:53 PM #1
- Join Date
- Sep 2012
- Thanked 0 Times in 0 Posts
ZipArchive driving me insane!
I've been struggling with this problem for weeks now.
I have a self-managed vps... which means I have to deal with the majority of server side issues myself.
Basically have been trying to get a wordpress plugin to upgrade to the elite version.
The elite files are in a zip file in the plugin folder.
Whenever I try to upgrade I get this error:
Fatal error: Class 'ZipArchive' not found in ........
I originally installed Zip via WHM and thought it was done but no joy, i thought perhaps I hadn't enabled it or something.
Somebody mentioned something about '--enable-zip configure option' but I couldn't find any concrete advice.
It's incredible how little information there is about this stuff online... i've literally spent days and weeks going back to this trying to fix it. I'm sure my hosts could do it in minutes but apparently they are bastards!
I swear I've done everything I can but they say that there isn't anything wrong on their end.
Just today figured out how to access root via ssh and install zip using the 'pecl install zip' command.
that went fine, and I saw the line that said:
"Extension zip enabled in php.ini"
... so I was sure it would work this time.. but no.
I've also tried enabling "zlib.output_compression" to see if that helped but every time I enable it, all sites on that vps get "Internal Server Error".
Also thought there could be something in the "Safe Mode | disable_functions" section but I couldn't see anything that looked immediately obvious.
It's making me crazy not being able to figure it out.
If someone could help preserve my sanity I would be eternally grateful!
10-08-2012, 05:23 AM #2
- Join Date
- Oct 2012
- Thanked 64 Times in 64 Posts
it might be many things.
try this: http://wiki.vpslink.com/HOWTO:_Add_Zip_support_for_PHP5
check if server has write access to directories u want it to change/write stuff
after installing modules restart server.
what system u have on that server? which web server?