码迷,mamicode.com
首页 > 其他好文 > 详细

lin服务器配置

时间:2015-02-05 13:18:00      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:

mbstring.encoding_translation 改为off 可能可以解决注册入数据库就乱码了

基本要安装的环境有 mbstring pdo curl gd  再更改memory_limit、post_max_size 啥的大小

‘./configure‘ ‘--enable-bcmath‘ ‘--enable-calendar‘ ‘--enable-dbase‘ ‘--enable-discard-path‘ ‘--enable-exif‘ ‘--enable-ftp‘ ‘--enable-gd-native-ttf‘ ‘--enable-libxml‘ ‘--enable-magic-quotes‘ ‘--enable-mbstring‘ ‘--enable-pdo=shared‘ ‘--enable-soap‘ ‘--enable-sockets‘ ‘--enable-ucd-snmp-hack‘ ‘--enable-wddx‘ ‘--enable-zend-multibyte‘ ‘--enable-zip‘ ‘--prefix=/usr‘ ‘--with-bz2‘ ‘--with-curl=/opt/curlssl/‘ ‘--with-curlwrappers‘ ‘--with-freetype-dir=/usr‘ ‘--with-gd‘ ‘--with-gettext‘ ‘--with-imap=/opt/php_with_imap_client/‘ ‘--with-imap-ssl=/usr‘ ‘--with-jpeg-dir=/usr‘ ‘--with-kerberos‘ ‘--with-libdir=lib64‘ ‘--with-libexpat-dir=/usr‘ ‘--with-libxml-dir=/opt/xml2‘ ‘--with-libxml-dir=/opt/xml2/‘ ‘--with-mcrypt=/opt/libmcrypt/‘ ‘--with-mhash=/opt/mhash/‘ ‘--with-mime-magic‘ ‘--with-mysql=/usr‘ ‘--with-mysql-sock=/var/lib/mysql/mysql.sock‘ ‘--with-mysqli=/usr/bin/mysql_config‘ ‘--with-openssl=/usr‘ ‘--with-openssl-dir=/usr‘ ‘--with-pcre-regex=/opt/pcre‘ ‘--with-pdo-mysql=shared‘ ‘--with-pdo-sqlite=shared‘ ‘--with-pgsql=/usr‘ ‘--with-pic‘ ‘--with-png-dir=/usr‘ ‘--with-snmp‘ ‘--with-sqlite=shared‘ ‘--with-tidy=/opt/tidy/‘ ‘--with-ttf‘ ‘--with-xmlrpc‘ ‘--with-xpm-dir=/usr‘ ‘--with-xsl=/opt/xslt/‘ ‘--with-zlib‘ ‘--with-zlib-dir=/usr‘

lin服务器配置

标签:

原文地址:http://www.cnblogs.com/alex-13/p/4274376.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!