2017-05-02 2 views
0

저는 PHP에 대한 상상력을 추가하기 위해 f를 사용하고 있습니다. 내가, 내가 설정 한 remi55를 설치 yum을 사용하려는cant php55 imagetick on centos 6.8 php-devel 설치했지만 빠졌습니다

$php -v 
PHP 5.5.34 (cli) (built: Mar 29 2016 19:27:57) 
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies 

GCC가 설치되어있는 모든 필요한

PHP 버전을로드

ImageMagick이와 ImageMagick이-(STABLE)이 설치되어
Package gcc-4.4.7-18.el6.x86_64 already installed and latest version 

Package ImageMagick-6.7.2.7-6.el6.x86_64 already installed and latest version 
Package ImageMagick-devel-6.7.2.7-6.el6.x86_64 already installed and latest version 

php-devel이 설치되어있는 것 같습니다.

Package php55-php-devel-5.5.38-7.el6.remi.x86_64 already installed and latest version 

도 더 많은 물건은 내가,

Package php55-php-pecl-imagick-3.4.3-1.el6.remi.x86_64 already installed 
php55-php-pecl-xdebug.x86_64 0:2.5.3-2.el6.remi already installed 

내가 많이 tryed 잘 모릅니다하지만

pecl install imagick 

에 올 때 나는 오류

Starting to download imagick-3.4.3.tgz (245,410 bytes) 
............................done: 245,410 bytes 
19 source files, building 
running: phpize 
Can't find PHP headers in /usr/include/php 
The php-devel package is required for use of this command. 
ERROR: `phpize' failed 

너무 좋아

을 얻을 설치 심지어 yum install php-devel하려고하면 내 PHP에 대한 PHP - devel을 알고 v를 잠시 다음과 같은 오류 메시지가 나타납니다.

--> Finished Dependency Resolution 
Error: Package: php-pecl-jsonc-1.3.10-2.el6.remi.5.5.x86_64 (remi-php55) 
      Requires: php(zend-abi) = 20121212-64 
      Removing: php-common-5.5.34-1.el6.remi.x86_64 (@remi-php55) 
       php(zend-abi) = 20121212-64 
      Updated By: php-common-5.6.30-2.el6.remi.x86_64 (remi-test) 
       php(zend-abi) = 20131226-64 
      Available: php-common-5.3.3-49.el6.x86_64 (base) 
       php(zend-abi) = 20090626 
      Available: php-common-5.4.45-13.el6.remi.x86_64 (remi) 
       php(zend-abi) = 20100525-x86-64 
      Available: php-common-5.5.38-6.el6.remi.x86_64 (remi-php55) 
       php(zend-abi) = 20121212-64 
      Available: php-common-5.5.38-7.el6.remi.x86_64 (remi-php55) 
       php(zend-abi) = 20121212-64 
      Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test) 
       php(zend-abi) = 20131226-64 
Error: Package: php-pecl-jsonc-1.3.10-2.el6.remi.5.5.x86_64 (remi-php55) 
      Requires: php(api) = 20121113-64 
      Removing: php-common-5.5.34-1.el6.remi.x86_64 (@remi-php55) 
       php(api) = 20121113-64 
      Updated By: php-common-5.6.30-2.el6.remi.x86_64 (remi-test) 
       php(api) = 20131106-64 
      Available: php-common-5.3.3-49.el6.x86_64 (base) 
       php(api) = 20090626 
      Available: php-common-5.4.45-13.el6.remi.x86_64 (remi) 
       php(api) = 20100412-x86-64 
      Available: php-common-5.5.38-6.el6.remi.x86_64 (remi-php55) 
       php(api) = 20121113-64 
      Available: php-common-5.5.38-7.el6.remi.x86_64 (remi-php55) 
       php(api) = 20121113-64 
      Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test) 
       php(api) = 20131106-64 
Error: Package: php-pecl-zip-1.14.0-1.el6.remi.5.5.x86_64 (remi-php55) 
      Requires: php(zend-abi) = 20121212-64 
      Removing: php-common-5.5.34-1.el6.remi.x86_64 (@remi-php55) 
       php(zend-abi) = 20121212-64 
      Updated By: php-common-5.6.30-2.el6.remi.x86_64 (remi-test) 
       php(zend-abi) = 20131226-64 
      Available: php-common-5.3.3-49.el6.x86_64 (base) 
       php(zend-abi) = 20090626 
      Available: php-common-5.4.45-13.el6.remi.x86_64 (remi) 
       php(zend-abi) = 20100525-x86-64 
      Available: php-common-5.5.38-6.el6.remi.x86_64 (remi-php55) 
       php(zend-abi) = 20121212-64 
      Available: php-common-5.5.38-7.el6.remi.x86_64 (remi-php55) 
       php(zend-abi) = 20121212-64 
      Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test) 
       php(zend-abi) = 20131226-64 
Error: Package: php-pecl-zip-1.14.0-1.el6.remi.5.5.x86_64 (remi-php55) 
      Requires: php(api) = 20121113-64 
      Removing: php-common-5.5.34-1.el6.remi.x86_64 (@remi-php55) 
       php(api) = 20121113-64 
      Updated By: php-common-5.6.30-2.el6.remi.x86_64 (remi-test) 
       php(api) = 20131106-64 
      Available: php-common-5.3.3-49.el6.x86_64 (base) 
       php(api) = 20090626 
      Available: php-common-5.4.45-13.el6.remi.x86_64 (remi) 
       php(api) = 20100412-x86-64 
      Available: php-common-5.5.38-6.el6.remi.x86_64 (remi-php55) 
       php(api) = 20121113-64 
      Available: php-common-5.5.38-7.el6.remi.x86_64 (remi-php55) 
       php(api) = 20121113-64 
      Available: php-common-5.6.30-0.1.RC1.el6.remi.x86_64 (remi-test) 
       php(api) = 20131106-64 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

그래서 나는 정말로 미쳐 가고 어떻게 해야할지 잘 모릅니다. 내가 가장 원하지 않는 것은 "모든 것을 제거하고 처음부터 설치"라고 말했고 사이트에 관련된 많은 작업 시스템을 가지고 있다고 말했기 때문에 어떤 생각인지 알고 싶다면 확실히 httpd를 다시 시작하려고 시도했습니다

나는 필요한 모든 정보를 제공하지는 못했지만 tldr을 원하지는 않는다는 것을 알고있다. 모든 php -m | grep image

아무것도 반환

[PHP Modules] 
bcmath 
bz2 
calendar 
Core 
ctype 
curl 
date 
dom 
ereg 
exif 
fileinfo 
filter 
ftp 
gd 
gettext 
gmp 
hash 
iconv 
imap 
intl 
json 
ldap 
libxml 
mbstring 
mcrypt 
mhash 
mysql 
mysqli 
mysqlnd 
odbc 
openssl 
pcntl 
pcre 
PDO 
pdo_mysql 
PDO_ODBC 
pdo_sqlite 
Phar 
posix 
readline 
recode 
Reflection 
session 
shmop 
SimpleXML 
sockets 
SPL 
sqlite3 
standard 
sysvmsg 
sysvsem 
sysvshm 
tidy 
tokenizer 
wddx 
xml 
xmlreader 
xmlrpc 
xmlwriter 
xsl 
zip 
zlib 
+0

'패키지 php55-php-pecl-imagick-3.4.3-1.el6.remi.x86_64가 이미 설치되었습니다. '- 그렇게해야합니다. 'php -m'을 실행하고 imagick이 출력에 있는지 확인하십시오. –

+0

아니요, unfortunatly 그것은 아닙니다 : * (나는 PHP의 출력을 추가했습니다 -m –

+0

'rpm -ql php55-php-pecl-imagick-3.4.3-1.el6.remi.x86_64'를 실행하여 파일 목록을 가져옵니다. 그 중 하나는'imagick '이어야합니다.그래서' –

답변

2

그냥 레미 테스트 비활성화합니다 (일부 5.6 패키지를, 그래서 충돌이) -m PHP의 heres는 전체 출력 후

. BTW 5.5 is now EOL

yum-config-manager --disable remi-test 
yum install php-pecl-imagick 

, 그래서 난 강력하게 당신이 maintained version으로 업데이트하는 것이 좋습니다.

php55-php-pecl-imagick은 동시에 여러 버전을 설치하는 SCL 패키지이므로 아마 필요하지 않습니다.

Wizard instructions을 참조하십시오.

+0

EOL ^^ 당신은 정말 옳습니다. 지적 해 주셔서 고맙습니다. 또한 내가 remi 테스트를 사용하도록 설정했기 때문에 이것이 내 질문에 대한 답입니다. 고마워. –