Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-20-2012, 07:53 PM   PM User | #1
cybercivilian
New to the CF scene

 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
cybercivilian is an unknown quantity at this point
ZipArchive driving me insane!

Hey all,

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!

Thanks
cybercivilian is offline   Reply With Quote
Old 10-08-2012, 05:23 AM   PM User | #2
patryk
Regular Coder

 
patryk's Avatar
 
Join Date: Oct 2012
Location: /dev/couch
Posts: 395
Thanks: 2
Thanked 64 Times in 64 Posts
patryk is on a distinguished road
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?
patryk is offline   Reply With Quote
Reply

Bookmarks

Tags
ziparchive not found

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:10 PM.


Advertisement
Log in to turn off these ads.