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