linux - PHP - ZipArchive is enabled but not found -
when @ phpinfo see zip enabled: 
extension_loaded('zip') // <- returns true. function_exists('zip_open') // <- returns true. class_exists('ziparchive', false) // <-returns false. when try create ziparchive object, error: fatal error: class 'ziparchive' not found
php version 5.4.11
found fix reading mediatemple kb article. had zip.so in /usr/lib64/php/modules/
thing missing extension=zip.so entry in php.ini
after adding entry , restarting apache, ziparchive recognized.
Comments
Post a Comment