"CentOS php-devel 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
8번째 줄: 8번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# phpize
[root@zetawiki ~]# phpize
-bash: phpize: command not found
-bash: phpize: command not found
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# phpize
[root@zetawiki ~]# phpize
Can't find PHP headers in /usr/include/php
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
The php-devel package is required for use of this command.
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa | grep php-devel
[root@zetawiki ~]# rpm -qa | grep php-devel
[root@zetawiki ~]# yum list php-devel
[root@zetawiki ~]# yum list php-devel
23번째 줄: 23번째 줄:
Available Packages
Available Packages
php-devel.x86_64                                5.3.3-46.el6_6                                updates
php-devel.x86_64                                5.3.3-46.el6_6                                updates
</source>
</syntaxhighlight>
:→ php-devel 설치 안됨. yum으로 설치 가능
:→ php-devel 설치 안됨. yum으로 설치 가능


==php-devel 설치==
==php-devel 설치==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum install php-devel
[root@zetawiki ~]# yum install php-devel
... (생략)
... (생략)
46번째 줄: 46번째 줄:
Installed size: 7.0 M
Installed size: 7.0 M
Is this ok [y/N]: y
Is this ok [y/N]: y
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
... (생략)
... (생략)
Installed:
Installed:
56번째 줄: 56번째 줄:


Complete!
Complete!
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# rpm -qa php-devel
[root@zetawiki ~]# rpm -qa php-devel
php-devel-5.3.3-46.el6_6.x86_64
php-devel-5.3.3-46.el6_6.x86_64
</source>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# phpize
[root@zetawiki ~]# phpize
Cannot find config.m4.  
Cannot find config.m4.  
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
Make sure that you run '/usr/bin/phpize' in the top level syntaxhighlight directory of the module
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:34 기준 최신판

  다른 뜻에 대해서는 우분투 php5-dev 설치 문서를 참조하십시오.

1 개요[ | ]

CentOS php-devel 설치
phpize: command not found
Cannot find config.m4
  • phpize를 실행했을 때 config.m4 파일을 찾을 수 없다는 메시지
  • config.m4 가 있는 위치로 이동하여 phpize를 실행하면 된다.

2 확인[ | ]

[root@zetawiki ~]# phpize
-bash: phpize: command not found
[root@zetawiki ~]# phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
[root@zetawiki ~]# rpm -qa | grep php-devel
[root@zetawiki ~]# yum list php-devel
... (생략)
Available Packages
php-devel.x86_64                                5.3.3-46.el6_6                                updates
→ php-devel 설치 안됨. yum으로 설치 가능

3 php-devel 설치[ | ]

[root@zetawiki ~]# yum install php-devel
... (생략)
======================================================================================================
 Package                Arch                Version                        Repository            Size
======================================================================================================
Installing:
 php-devel              x86_64              5.3.3-46.el6_6                 updates              512 k
Installing for dependencies:
 autoconf               noarch              2.63-5.1.el6                   base                 781 k
 automake               noarch              1.11.1-4.el6                   base                 550 k

Transaction Summary
======================================================================================================
Install       3 Package(s)

Total download size: 1.8 M
Installed size: 7.0 M
Is this ok [y/N]: y
... (생략)
Installed:
  php-devel.x86_64 0:5.3.3-46.el6_6                                                                   

Dependency Installed:
  autoconf.noarch 0:2.63-5.1.el6                    automake.noarch 0:1.11.1-4.el6                   

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# rpm -qa php-devel
php-devel-5.3.3-46.el6_6.x86_64
[root@zetawiki ~]# phpize
Cannot find config.m4. 
Make sure that you run '/usr/bin/phpize' in the top level syntaxhighlight directory of the module

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}