Hello everyone,
I'm trying to expiriment with the ZipArchive functions and I keep getting this error
Fatal error: Class 'ZipArchive' not found
I've installed the DLL and my phpINFO page shows that zip is enabled.
This is what phpinfo says:
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
if that helps
does anyone know how to fix this?
or could you point me towards something else to use.
I mainly just need to create zips thankx
any ideas?
thanks all,
eff
php zip issues
Moderator: General Moderators
-
nowaydown1
- Forum Contributor
- Posts: 169
- Joined: Sun Apr 27, 2008 1:22 am
Re: php zip issues
Hi eff,
I would double check your setup to ensure that you're loading the php_zip extension (http://us3.php.net/manual/en/ref.zip.php). The dump portion you referred to from your phpinfo() looks like it's referencing zlib stuff (gzfile, gzopen, etc - http://us3.php.net/zlib).
I would double check your setup to ensure that you're loading the php_zip extension (http://us3.php.net/manual/en/ref.zip.php). The dump portion you referred to from your phpinfo() looks like it's referencing zlib stuff (gzfile, gzopen, etc - http://us3.php.net/zlib).
-
efficacious
- Forum Newbie
- Posts: 5
- Joined: Wed Aug 13, 2008 2:13 pm
Re: php zip issues
ok let me look over that 2sec..
-
efficacious
- Forum Newbie
- Posts: 5
- Joined: Wed Aug 13, 2008 2:13 pm
Re: php zip issues
I checked the php.ini file and the extension i uncommented was
php_zip.dll
php_zip.dll
-
efficacious
- Forum Newbie
- Posts: 5
- Joined: Wed Aug 13, 2008 2:13 pm
Re: php zip issues
got it working now.. thanks guys...
just need to restart the pc. *palm-face*
just need to restart the pc. *palm-face*
Re: php zip issues
You probably only needed to restart Apache.