- 如果在centos中选择安装指定版本的php, 比如
yum install php72w
-
那么安装php拓展时, 需要指定php拓展的版本吗?
- yum install php72w-cli php72w-common php72w-devel php72w-embedded php72w-fpm
- yum install php-iconv php-mbstring php-curl php-openssl php-tokenizer php-xmlpc php-soap php-ctyp
- 这两种命令写法, 哪种是对的呢?
两种都可以,安装不同php版本的拓展