VnLamp

Go Back   VnLamp > Khu vực Training > Linux Advance > Apache Web server

Trả lời
 
LinkBack Ðiều Chỉnh Xếp Bài
Compile Php 5.2.13
Old
  (#1 (permalink))
 
Status: Offline
Posts: 12
Tham gia: Nov 2009
Học viên VNLAMP
Default Compile Php 5.2.13 - 15-06-2010, 15:15 15-06-2010

Hi all,
Anh em giúp mình cái này với. Mình compile php 5.2.13 trên CentOS 5.4 64bit, nhưng cứ báo lỗi này

./configure --prefix=/build/php --with-config-file-path=/build/php/etc --with-mysql --with-mysqli --with-bz2 --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-ttf --with-gdbm --with-gettext --enable-mbstring --with-pcre-regex --with-regex --enable-soap --enable-sockets --enable-pdo --with-pdo-sqlite --with-sqlite --with-xmlrpc --enable-zip --with-zlib --enable-ftp --with-iconv --enable-pcntl --enable-fastcgi --enable-discard-path --with-apxs2=/build/httpd/bin/apxs'' --with-curl'' --with-curlwrappers'' --with-imap'' --with-imap-ssl'' --with-kerberos '' --with-pgsql=/usr --with-pdo-pgsql=/usr --with-ldap=/usr --with-ldap-sasl=/usr --with-pear '' --with-pcre-dir=/usr --with-openssl-dir=/usr --with-pdo-mysql=/usr --with-mime-magic'' --with-libdir=lib64

configure: error: can only configure for one host and one target at a time
   
Trả Lời Với Trích Dẫn
Old
  (#2 (permalink))
 
Status: Offline
Posts: 511
Tham gia: Dec 2007
BQT VNLAMP
 
goldenbook's Avatar
Default 16-06-2010, 15:16 16-06-2010

bạn kiểm tra lại các vấn đề
1> Giờ hệ thống
2> xem "--with-apxs2=/build/httpd/bin/apxs'' --with-curl'' --with-curlwrappers'' --with-imap'' --with-imap-ssl'' --with-kerberos '' --with-pgsql=/usr --with-pdo-pgsql=/usr --with-ldap=/usr --with-ldap-sasl=/usr --with-pear '' --with-pcre-dir=/usr --with-openssl-dir=/usr --with-pdo-mysql=/usr --with-mime-magic''

phần config đó của bạn sao lại có mấy dấu "
3> Nếu có lỗi thì copy một số dòng lỗi đáng kể gửi lại tôi.


Success inlife isn't a given. It's costs attitude, ambition and acceptance.
   
Trả Lời Với Trích Dẫn
Old
  (#3 (permalink))
 
Status: Offline
Posts: 12
Tham gia: Nov 2009
Học viên VNLAMP
Default 17-06-2010, 11:17 17-06-2010

Trích:
Nguyên văn bởi goldenbook View Post
bạn kiểm tra lại các vấn đề
1> Giờ hệ thống
2> xem "--with-apxs2=/build/httpd/bin/apxs'' --with-curl'' --with-curlwrappers'' --with-imap'' --with-imap-ssl'' --with-kerberos '' --with-pgsql=/usr --with-pdo-pgsql=/usr --with-ldap=/usr --with-ldap-sasl=/usr --with-pear '' --with-pcre-dir=/usr --with-openssl-dir=/usr --with-pdo-mysql=/usr --with-mime-magic''

phần config đó của bạn sao lại có mấy dấu "
3> Nếu có lỗi thì copy một số dòng lỗi đáng kể gửi lại tôi.
Oke, Tks goldenbook . Mình sẽ thử kiểm tra.
   
Trả Lời Với Trích Dẫn
Trả lời


Ðiều Chỉnh
Xếp Bài

Quyền Sử Dụng Ở Diễn Ðàn
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 Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt
Trackbacks are Mở
Pingbacks are Mở
Refbacks are Mở


Múi giờ GMT. Hiện tại là 02:21 21-05-2012.