服务报价 | 域名主机 | 网络营销 | 软件工具| [加入收藏]
 热线电话: #
当前位置: 主页 > php教程 > magento教程 >

centos安装magento php缺省模块

时间:2016-05-16 00:05来源:未知 作者:最模板 点击:
linux 对应扩展 1. yum install -y ImageMagick.x86_64 ImageMagick-devel.x86_64 2. yum install -y libxslt.x86_64 libxslt-devel.x86_64 cd /usr/local/src/ext/xsl phpize ./configure make make install vim /usr/local/php56/etc/php.ini 添加 ex
linux 对应扩展
1. yum install -y ImageMagick.x86_64 ImageMagick-devel.x86_64
2. yum install -y libxslt.x86_64 libxslt-devel.x86_64
cd /usr/local/src/ext/xsl
phpize
./configure
make
make install
vim /usr/local/php56/etc/php.ini  添加 extension=xsl.so
service httpd restart
 
3. yum install -y gd.x86_64 gd-devel.x86_64
cd /usr/local/src/php-5.6.0/ext/gd
phpize
./configure --with-php-config=/usr/local/php56/bin/php-config --with-jpeg-dir=/usr/lib64 --with-freetype-dir=/usr/lib64
 
(
 
在这一步如果遇到
 
configure: WARNING: unrecognized options: --with-freetype
 
这种类型的警告,说明对应的参数已经失效,需要查看当前支持的参数名称,请用 
 
./configure --help
 
命令查看,
 
运行make clean命令可以重新编译安装
 
)
 
make
make install
vim /usr/local/php56/etc/php.ini  添加 extension=gd.so
service httpd restart
 
4.  安装intl
欲安装intl必先安装icu
yum install -y libicu.x86_64 libicu-devel.x86_64
/usr/local/php56/bin/pecl install intl
add “extension=intl.so” in your php.ini file.
You can also check what extensions are compiled in by running:
php -m
 
5. yum install php-bcmath.x86_64
(责任编辑:最模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目列表
热点内容