Home >Backend Development >PHP Tutorial >php extension installation

php extension installation

WBOY
WBOYOriginal
2016-07-29 09:04:48971browse

Install mbstring

The following are the installation steps:

1. Install mbstring extension

yum -y installphp-mbstring

2. Configure php.ini to support the extension

vi /etc/php.ini

File addition

extension=mbstring.so

3. Restart the httpd service

service httpd restart

Done.

mysql extension

yum search php-mysql

yum install *

The above introduces the PHP extension installation, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn