opencart商城模板,magento2本地搭建
2022-09-27 10:24:25 - 米境通
opencart搭建
1.安装apache略
2.安装php
需要支持以下组件,php安装文件自带,phpinstallfile/ext/
Curl
ZIP
Zlib
GDLibrary
Mcrypt
Mbstrings
Xml
libxml2下载
http://linux.softpedia.com/get/Programming/Libraries/libxml2-162.shtml
CURL问题
yuminstallcurlcurl-devel
configure:error:png.hnotfound.GD的问题
yuminstalllibpng
yuminstalllibpng-devel
configure:error:mcrypt.hnotfound.Pleasereinstalllibmcrypt.
https://sourceforge.net/projects/mcrypt/files/Libmcrypt/
yum-yinstallgd-develzlib-devellibjpeg-devellibpng-devellibiconv-develfreetype-devellibxml2libxml2-developensslopenssl-develcurl-devellibxslt-devellibmcrypt-develmhashmcrypt
#./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache/httpd/bin/apxs--with-libxml-dir=/usr/local/libxml2--with-curl--with-zlib--with-gd--with-mcrypt--with-openssl--with-mysqli--enable-mbstring--enable-xml--enable-zip
php5
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache/httpd/bin/apxs--with-libxml-dir=/usr/local/libxml2--with-curl--with-zlib--with-gd--with-mcrypt--with-openssl--with-xsl--with-mysql--enable-mbstring--enable-xml--enable-zip
./configure--prefix=/usr/local/php
--with-apxs2=/usr/local/apache/httpd/bin/apxs
--with-libxml-dir=/usr/local/libxml2
--with-openssl
--with-pcre-regex
--with-kerberos
--with-libdir=lib
--with-mysqli=shared,mysqlnd
--with-pdo-mysql=shared,mysqlnd
--with-pdo-sqlite
--with-gd
--with-iconv
--with-zlib
--with-xmlrpc
--with-xsl
--with-pear
--with-gettext
--with-curl
--with-png-dir
--with-jpeg-dir
--with-freetype-dir
--enable-mysqlnd
--enable-zip
--enable-inline-optimization
--enable-shared
--enable-libxml
--enable-xml
--enable-bcmath
--enable-shmop
--enable-sysvsem
--enable-mbregex
--enable-mbstring
--enable-ftp
--enable-gd-native-ttf
--enable-pcntl
--enable-sockets
--enable-soap
--enable-session
--enable-opcache
--enable-maintainer-zts
--enable-fileinfo
相关问答: