linux - PHP - ZipArchive is enabled but not found -


when @ phpinfo see zip enabled: enter image description here

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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -