enable php zip extension

mmoorree4444

New member
Joined
May 15, 2009
Messages
1
Hello
I am on a VPS hosting plan. I am trying to get the php zip extension enabled. My hosting company says that is it there and just needs to be enabled. They want to charge me to do this but I am hoping it is something simple and I can do this myself.

I read someplace to look for php_zip.so in my extension folder but this file does not appear to be there, otherwise from reading I would just need to add it to the php.ini file.

I am also fairly new to linux so if you tell me to recompile php please explain what you are referring too.

Any help would be appreciated.

mike
 
Code:
pecl install zip

Copy the resulting zip.so file into the extensions directory as define by php.ini. Look for extension_dir

Add extension=zip.so to the bottom of php.ini and save and restart apache.

This works on RedHat based systems. I don't know about the others.
 
Back
Top