카테고리 없음

PHP Fatal error: Class 'ZipArchive' not found

되꼬다음 2023. 2. 3. 15:41
반응형

http://pecl.php.net/package/zip 접속하여 파일 zip-1.21.1.tgz를 다운로드 한다.

다운로드
wget http://pecl.php.net/get/zip-1.21.1.tgz

압축해제
tar -zxvf zip-1.21.1.tgz 

설치 디렉토리 이동
cd zip-1.21.1

phpize 실행
/usr/local/php/bin/phpize

설치
./configure --with-php-config=/usr/local/php/bin/php-config --enable-zip --with-libzip=/usr/local/libzip
make
make install


 

2023.02.03 - [분류 전체보기] - Please reinstall the libzip distribution - libzip 설치

 

Please reinstall the libzip distribution - libzip 설치

libzip 다운로드 wget https://libzip.org/download/libzip-1.9.2.tar.gz --no-check-certificate 압축해제 tar zxvf libzip-1.9.2.tar.gz 설치 /usr/bin/cmake -DCMAKE_INSTALL_PREFIX=/usr/local/libzip make make install cmake 설치시 아래와 같은 오

am0900.tistory.com

 

2023.02.03 - [분류 전체보기] - CMake 3.0.2 or higher is required

 

CMake 3.0.2 or higher is required

CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.0.2 or higher is required. You are running version 2.8.12.2 cmake 로 컴파일시 버전이 낮을 경우 하는데 높은 버전으로 재설치 후 컴파일을 진행하면된다. 다운

am0900.tistory.com

 

반응형