Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY

Go Back   Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY > CentOS Việt Nam - Viet Nam Linux CentOS Community > Cài đặt CentOS và ứng dụng > Apache cho CentOS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-08-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 4
Thanks: 4
Thanked 0 Times in 0 Posts
Default Làm sao để thay đổi cấu hình apache?

em xem phpinfo thì thông tin server như sau
Quote:
Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'
giờ em muốn bật mysql và gd lên thì làm như thế nào ah? Có cần phải cài lại không ah?
Reply With Quote
  #2 (permalink)  
Old 22-08-2008
Hackingart Member
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 3 Times in 1 Post
Smile

Thế thù bạn chưa setup mysql với gd rồi.
+ Setup mysql (chắc có một số bài trên diễn đàn hưỡng dẫn rồi)
Code:
 
#yum install mysql mysql-devel mysql-server
#chkconfig --levels 235 mysqld on
#/etc/init.d/mysqld start
Check mysql:
Code:
 
#netstat -tap | grep mysql
+ setup gd:
Code:
 
#yum install php-gd
Nhanh gọn nhẹ
Reply With Quote
  #3 (permalink)  
Old 03-09-2008
sieuhosting's Avatar
Moderator
 
Join Date: Jul 2008
Posts: 73
Thanks: 7
Thanked 2 Times in 2 Posts
Default

mysql ở đây nói đến là mysql dạng client chứ không phải server.
Nếu vậy bạn chỉ cần sử dụng phpize để configure lại là đc.
Thân!
__________________
www.sieuhosting.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:49 PM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.