일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- disk full
- php zip 모듈
- 디스크 용량 확인
- nginx
- centos7
- error 1728
- html 구성
- OTP 보정오류
- author style
- postfix
- DOTCOM 마케팅 설계자 SECRET
- Laravel
- wsrep
- 갈레라
- OTP 오류
- navicat
- Oracle
- nginx 1.12.0
- php 업로드 파일 삭제
- 국민은행(기업)
- ZipArchive 오류
- mysql.proc 오류
- php excel
- php 7.3
- php 파일 삭제
- disk 100% 사용
- user style
- 복구
- CSS
- MariaDB
- Today
- Total
Jehna :)
php pear 업데이트 본문
php imagick 설치 시, 오류가 아래와 같이 발생한다면!! php pear 업데이트가 필요하다.
PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/pear/PEAR/Frontend.php on line 91 |
참고) centOS7 기준!!
1. wget으로 설치할 라이브러리 가지고 오기
# wget http://pear.php.net/go-pear.phar |
2. 가지고 온 라이브러리 설치(업데이트)
# php go-pear.phar Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation base ($prefix) : /usr 2. Temporary directory for processing : /tmp/pear/install 3. Temporary directory for downloads : /tmp/pear/install 4. Binaries directory : /usr/bin 5. PHP code directory ($php_dir) : /usr/share/pear 6. Documentation directory : /usr/docs 7. Data directory : /usr/data 8. User-modifiable configuration files directory : /usr/cfg 9. Public Web Files directory : /usr/www 10. System manual pages directory : /usr/man 11. Tests directory : /usr/tests 12. Name of configuration file : /etc/pear.conf 1-12, 'all' or Enter to continue: // 엔터 입력 |
'윌리 > System 이것저것' 카테고리의 다른 글
mariadb 실행 오류 [ERROR] WSREP: rsync SST method requires wsrep_cluster_address to be configured on startup. (0) | 2022.07.14 |
---|---|
nginx 403 Forbiddent 에러 (1) | 2020.11.08 |
nginx 에러 no port in upstream "php-fpm" (0) | 2020.06.18 |
yum 오류 [Errno -1] repomd.xml does not match metalink for updates (0) | 2020.06.13 |
Connect Error: Access denied for user 오류 해결 (0) | 2020.04.02 |