- CentOS php-mbstring 설치
1 확인[ | ]
Console
Copy
[root@zetawiki ~]# php -r "mb_substr();"
PHP Fatal error: Call to undefined function mb_substr() in Command line code on line 1
Console
Copy
[root@zetawiki ~]# rpm -qa php-mbstring
[root@zetawiki ~]# yum info php-mbstring | grep Repo
Repo : base
2 설치[ | ]
Console
Copy
[root@zetawiki ~]# yum install php-mbstring -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-3.el6_2.8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================
Installing:
php-mbstring x86_64 5.3.3-3.el6_2.8 base 453 k
Transaction Summary
===================================================================================================================================
Install 1 Package(s)
Total download size: 453 k
Installed size: 2.1 M
Downloading Packages:
php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm | 453 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-mbstring-5.3.3-3.el6_2.8.x86_64 1/1
Installed:
php-mbstring.x86_64 0:5.3.3-3.el6_2.8
Complete!
3 확인 2[ | ]
Console
Copy
[root@zetawiki ~]# rpm -qa php-mbstring
php-mbstring-5.3.3-3.el6_2.8.x86_64
4 아파치 재시작[ | ]
Console
Copy
[root@zetawiki ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
5 같이 보기[ | ]
편집자 Jmnote bot Jmnote
로그인하시면 댓글을 쓸 수 있습니다.